target: Fix target_submit_cmd() exception handling