io_uring: convert read/write path to use io_cmd_type