Fix compilation errors with gcc
This MR fixes some compilation errors I got with my gcc version when compiling test_fembem as a chameleon subproject.
This includes a compilation error due to the 'fall through' comment in src/util.c
not being recognized by gcc version for some reason.
I suggest removing the -Werror flag, or there will be more work to do for removing all the warnings.