CVE-2025-40288 drm/amdgpu: Fix NULL pointer dereference in VRAM logic for APU devices