[PATCH 5.11 254/775] drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()