[mod_cgi] FreeBSD 9.3/MacOSX does not have pipe2() (fixes #2765)