[xulrunner] Protect EmbedLiteApp from dereferencing null pointer