Fix setting of dojoConfig.has.dojo-bidi to be early enough.
Still fails intermittently though due to https://bugs.dojotoolkit.org/ticket/17440.