pcap-linux: Fix the VLAN TPID handling for the readability

Unify the VLAN TPID selection logic into a helper macro VLAN_TPID().