fix build problem on platforms without atomic instructions

Thanks to Michael Biebl for his very helpful analysis of the bug.
remove a couple of gcc --pedantic messages
bugfix: mmanon did not properly anonymize IP addresses starting with '9'

Thanks to defa-at-so36.net for reporting this problem.
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=529
Merge branch 'v7-stable' into v8-stable
maintain ChangeLog
Merge branch 'v8-stable'