Bug 863646 - Force layout initialization in XPCOM initialization. r=bsmedberg