Fix up misc warnings in avogadrolibs.

Change-Id: Ia13db7eca189d2342c165e3976025ddc6d889f21
Merge topic 'warnings' into master

a42a7d94 Fix up misc warnings in avogadrolibs.