virtiofsd: extract lo_do_open() from lo_open()