io_uring: refactor __io_cq_unlock_post_flush()