Fix valgrind + setlocale() issue

See phalcon/zephir@5d20f31e3b9d7afe3203922b6506345716dcec06