Add #if to IsTriviallyCopyable for gcc 4.7.
Fix compiler warning.
Add static invariants to IPv6Address.