travis: add cppcheck

Also, re-enable compilation using GCC.