Clean up MAC address conversion in HLE.

Not planning to implement net, but this fixes a potential crash / buffer
overflow, and implements a commonly reported unimplemented function.
Merge pull request #3487 from unknownbrackets/net-minor

Clean up MAC address conversion in HLE