Swap Nibbles

v = bit.swap8(v)

Returns v with the nibbles exchanged.