tap: setting error appropriately when calling net_init_tap_one()