[PATCH 5.4 165/178] drm/amd: fix potential memleak in err branch