[PATCH 5.10 20/48] net: ag71xx: Fix a potential double free in error handling paths