libatomic, and fix the build on base-gcc archs by adding a missing header. OK kmos@, no objection from pascal@ (maintainer)