Remove duplicate properties during store migration from 2.1 to 2.2

Maybe it is better to change the interface of <code>PrimitiveLongObjectMap.visitEntries(...)</code> to allow throwing exceptions rather then doing this wrapping/unwrapping.