Fix for AMQ-4296: Don't GC past LevelDB records pointed to by prepared XA transactions.

Also avoid double logging a LOG_ADD_ENTRY.

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