catdoc: fails with clang

This software uses undefined behavior (decrementing a null pointer)
that compiles one way on GCC and another way on Clang with optimizations.