Pull in <sys/param.h> before <sys/user.h>.

On old FreeBSD (tested on 6), param.h is needed by user.h. Move the
order around accordingly. Will need to confirm this doesn't break
other systems.