[PATCH 5.18 267/339] drm/amd/pm: fix a potential gpu_metrics_table memory leak