[PATCH 5.15 334/356] drm/amdgpu: avoid using null object of framebuffer