[CA-104072] Static ipv6 address copying bugfixes

Fix casting of registry accesses

Correct endianess of NET_LUID to match registry

The NET_LUID string should only be 16 hex digits long ( = 64 bits)

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>