utils/validate/net.py: simplify mac()

Also obviates a pylint warning:
salt/utils/validate/net.py:18: [W0311(bad-indentation), ] Bad indentation. Found 12 spaces, expected 8