Make fix for two race conditions dependent on presence of
HAVE_SYNC_ATOMIC_BUILTINS.  Add comments to explain the situation.