Use MIN()/MAX() macros from sys/param.h.
Reviewed by: grehan Differential Revision: https://reviews.freebsd.org/D6054