Bug 887967 - avoid using a null nsIDOMWindowUtils when checking if a window is hidden.  r=adw

--HG--
extra : rebase_source : 06c713242b8416839fe4e4a74188f49d014d92bf