top: Use a cpuset_t to represent a CPU mask
The code attempts to detect holes in the CPU ID space, but previously
this would only work for up to sizeof(long)*8 CPUs.
MFC after: 2 weeks
(cherry picked from commit e96ed177465ee59fcc43dd0696106e5342e28c27)