[PATCH 6.1 049/372] drm/amdgpu/vkms: fix a possible null pointer dereference