wfabuild: fix the -errwarn compile flag test