Enable GCC atomic builtins on MinGW, disable on -march=i386
Merge pull request #190 from sturlamolden/master

Enable GCC atomic builtins on MinGW, disable on i386 target
Fix bug with infered const temp vars.
Const temp regression test.