replace clamp64() with clamp32u() where applicable Change-Id: I3fc97d576b3235eeda5d26a6a9692b5e51e016f3