HORNETQ-1224 fix on race on QueueImpl.deliver() when paging. https://bugzilla.redhat.com/show_bug.cgi?id=972444
Merge pull request #1127 from clebertsuconic/2.2.x

 HORNETQ-1224 fix on race on QueueImpl.deliver()