[PATCH 6.12 567/590] remoteproc: core: Fix ida_free call while not allocated