Bug 843684 - Patch up include to avoid compilation warnings when JS_THREADSAFE is not defined r=njn