[feature/revisions] During purge, only update rows of posts that had revisions

PHPBB3-10755