Common: Add a clamp function to math_utils.h