HORNETQ-1224 Fix race on QueueImpl.deliver() when paging. https://bugzilla.redhat.com/show_bug.cgi?id=972444