[PATCH 5.17 235/298] drm/amd/pm: fix a potential gpu_metrics_table memory leak