drm/amdgpu: fix null pointer deref in firmware header printing