Treat warnings as errors

This PR fixes two clang warnings and enables -Werror for the whole project to prevent warnings from creeping in again. Some projects, mine included, force -Werror down into third-party libraries which makes ZXingObjC not work out of the box as is.