Use -pedantic -Wall -Werror.

As we do not ship any C source, this is not a problem, unlike
the usual usage of -Werror in release builds.