rpmsg: Allow callback to return errors