update test for whether the page is an image

Add-on no longer works in Fx 25+ due to Bug 885177 - "Make window.ImageDocument ChromeOnly" making the test fail.  Replace the instanceof test with one looking for the existence of the imageResizingEnabled property on the document.