io_uring: remove the mode variable in io_file_get_flags