Minor imageIO performance tweak.