libotutil: Fix a possible uninitialized free() in error path

Spotted by gcc.
Squash some harmless compiler warnings

None of these AFAICS actually can occur, but let's silence gcc.