Bug 846984 - Prevent race conditions when USE_ZLIB is not defined. r=jorendorff a=bajaj

--HG--
extra : amend_source : 992d590bcbb1c4f8bf295a07a5f4f35a29860e0b