build: better check for 64-bit atomic add and fetch.

This fixes PowerPC on G4 mac mini.