.travis.yml: use scan-build for static analysis.

scan-build does some additional error checking during compilation.
This will add another layer of protection against buggy code.