[PATCH 6.16 322/570] drm/amd/pm: Use pointer type for typecheck()