Move decode_ipv6_address() to libipv6
Remove unused parameter to decode_ipv6_address()
Move two functions to libipv6