9/10-bit: simplify clipping macros