contrib: pthreads: Don't use x86 inline asm on non-x86 platforms