[PATCH 8/9] tap: make tap_update_mac() generic