Previously we only warned about these things in maintainer mode, and not all of the warnings were set to error mode, which led to some issues being missed. By unconditionally applying some Werror flags, we will catch more issues (style or actual bugs) faster, while the flags should also be safe to use in production and shouldn't make the code fail to build with newer versions.