fix failure of org.apache.activemq.store.kahadb.KahaDBMessagePriorityTest - getMessageCount left cursor at end of data, reset needed at the end