libtheora: cleanup & fix