net: move tap_set_offload() code into tap-linux.c