[PATCH] build-aux: use GNU sed for syntax-check on FreeBSD