[PATCH 6.8 140/158] drm/amdgpu: validate the parameters of bo mapping operations more clearly