Fix test whether sed is GNU sed supporting --posix.