Get rid of warnings in rippled and third-party code.

* Fix warnings in rippled code.
* Suppress specific warnings for individual third-party packages.
* Remove repetition in Sconstruct.