svm: fix producer deadlock in svm_msg_q_wait()