travis: change build optimization level back to -O2 (from -O3) as discussed

in https://github.com/danmar/cppcheck/commit/59077b06f9be2597db57753a27aff93ee294a670