[xulrunner] Protect EmbedLiteApp from dereferencing null pointer
[xulrunner] Sync with upstream. Merge remote-tracking branch 'origin/embedlite_29' into nemo_embedlite_29