Fix visbility for util/buffer.c and inet_ntoa/inet_aton

Fix visibility for util/buffer.c functions and for inet_aton and
inet_ntoa replacements to match the default hidden visiblity of other
portability and util functions.  Thanks, Julien ÉLIE.
Fix comment and variable typos in util/vector.[ch]

Thanks, Julien ÉLIE.