Change affinity test for more CPUs

Modify the task affinity tests to support systems with larger CPU
counts. Use data type long long unsigned int rather than just int.
see bug 672