Fix compile warnings in debug printfs
Add missing IA-32 atomics