base: add atomic init, load and store macros