AMDGPU: Fix warnings introduced in r315526