[PATCH 6.12 119/160] drm/amdgpu/nbio7.0: fix IP version check