[PATCH 26/26] migration/rdma: Split qemu_fopen_rdma() into input/output functions