Minor change to CMake: move the -Werror stuff to top level
Might as well centralize things like this, since we don't want warnings anywhere.
I also once accidentally migrated a package and put the -Werror
into Athena, people did not like that. Won't happen again if it's in the top level CMake list.