[PATCH 6.17 028/247] drm/amdgpu: Fix NULL pointer dereference in VRAM logic for APU devices