Make XinitThreads compat fix really work

Signed-off-by: Ivaylo Dimitrov <freemangordon@abv.bg>
Merge branch 'embedlite' of git@github.com:tmeshkova/mozilla-central into embedlite