Fix psutil_proc_cpu_affinity_get to work without CPU_ALLOC

This pull request fixes psutil_proc_cpu_affinity_get on systems that don't support CPU_ALLOC. It also retains the changes that fixed issue https://github.com/giampaolo/psutil/issues/522 for these older systems.