Fixed compiler warning.

citeproc-hs
Avoid infinite loop if locale files not found!

Closes pandoc#965.