QPID-5078: ensure listeners are always notified if a message was left on the queue (merged from r1514907)

git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.24@1515483 13f79535-47bb-0310-9956-ffa450edef68