perf: Fix build breakage for architecutes without atomic64_t