drm/amdgpu/gmc: make some functions static