[PATCH 5.2 029/215] drm/amdkfd: Fix a potential memory leak