configure: Change the default for -Werror

Release branches should disable it by default while development branches
should enable it by default.