[PATCH 5.10 212/663] drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()