Bug fix: The cpuset mask should be byte swapped (if needed).

The cpuset mask should be byte swapped for hosts/targets that are
different endians cpuset_getaffinity(2) and cpuset_setaffinity(2).