Fix misc warnings

Fixes https://github.com/behdad/harfbuzz/pull/51