atomic: Add include guards to the implementation headers