Add FreeBSD cpu affinity support.