Replace ctl_min() macro with MIN().

MFC after:	1 week