Silence some warnings on OS X/clang

Change-Id: Ie7b14cccd5823c167fd54e6ff1027fe2bc6a02bf
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>