net_device.lua: Hacky speedup of map_from_guest().