perf: use FUTEX_PRIVATE_FLAG for faster futexes
Linux 2.6.22 added a new flag to tell the kernel that futexes are process-private, which can provide performance improvements. We'd just use the convenience macros FUTEX_WAIT_PRIVATE and FUTEX_WAKE_PRIVATE. However, we'd want to dynamically check whether this flag is supported.