Bug 6937: 3.3.2 and Perl 5.18.0: Altering hash requires restarting loop else UNDEFINED behavior

git-svn-id: https://svn.apache.org/repos/asf/spamassassin/trunk@1487178 13f79535-47bb-0310-9956-ffa450edef68