64-bit build fix for YAJL < 2.0

refs #7454