[PATCH openEuler-1.0-LTS 4/4] drm/amdgpu: validate the parameters of bo mapping operations more clearly