nir/builder: Move clamp helpers to nir_builder.h
While we're at it, add a nir_iclamp_imm helper and delete the extra hand-rolled copy in panfrost.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
While we're at it, add a nir_iclamp_imm helper and delete the extra hand-rolled copy in panfrost.