msm: rpc: hold spinlock while doing wait_event