[PATCH 5.15 032/297] drm/amdgpu/vkms: fix a possible null pointer dereference