[xulrunner] Protect EmbedLiteApp from dereferencing null pointer

Ok. Done