remoteproc: qcom: Fix error handling paths in order to avoid memory leaks