util: Avoid pthread_setaffinity_np on NetBSD
NetBSD's variant of this non-portable function has a different prototype from the Linux version the code expects. It could make sense to add support for NetBSD's version, however, since NetBSD defaults to disallowing non-root users to set processor affinity, there would be little gain here.
This is a build fix for NetBSD.