[PATCH 5.12 566/700] firmware: stratix10-svc: Fix a resource leak in an error handling path