sysctl: fix min/max handling in __do_proc_doulongvec_minmax()