net_device+virtq: localize data; “flatten” all args and returns

The latter is ugly'ish, but with it luajit is able to preform
allocation sinking optimizations and at least this part is totally
gc-free. ~4Mpps
transmit_packets_to_vm, don't shadow a variable