branches: 1.2.4; 1.2.10; 1.2.22;Use <sys/atomic.h> ops on NetBSD (instead of MD gcc-isms). Stopgap fixto unbreak the build on some risc platforms.OK: elric