Add warnings in debug build, and -Werror with ASan

- warnings in debug build allows the to be caught earlier
- -Werror with ASan make tests/scripts/all.sh a bit shorter
2 files changed