ctdb-common: Use sin6_len only if the structure supports it