[PATCH 6.12 107/160] drm/amdgpu/nbio7.7: fix IP version check