createSyntheticSymbols, which creates WasmSym::InitTLS, is only called
when !config->relocatable, but this condition is not checked when calling
createInitTLSFunction.
This diff checks !config->relocatable before calling createInitTLSFunction.
Fixes https://github.com/emscripten-core/emscripten/issues/9155.