[PATCH 6.2 0518/1001] firmware: stratix10-svc: fix error handle while alloc/add device failed