Bug 966630 - Clamp level to TexImage operations to [0..31]. r=jgilbert, a=abillings