fix a clamping bug in pre-HD ATI/AMD drivers