Fix enum compiler warnings (clang -Wenum-conversion)
Remove spurious rotbuf_log() declaration, fixes #75