sql/pgq: fix retry-queue vs. newgrants