tools: host/include/getline.h: fix FreeBSD 8.0+ support