Bug 975824 - Fix compressed texture checks. - r=jgilbert