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

Case was actually tracked down by Andy Turner and Howard Gao.