Bug 999341 - Null check the observer service in nsDocument::OnPageHide; r=smaug