Bug 1035422 - Control the layout.imagevisibility.enabled pref in a single place. r=tn