add strlcat/strlcpy checks

Without them tools.h will always pretend sg_strlcat should be strlcat
which causes redefinition warnings.