configure: add a few warning flags for gcc and clang to help catch bugs