define `num_cpus()` function for openbsd that use `HW_NCPU` for grabbing the current number of cpus that could be used.