[PATCH 6.1 059/122] io_uring/msg_ring: move double lock/unlock helpers higher up