[feature/revisions] Fix bug where revision count was not being incremented

Apparently location of the ++ matters. If it's at the end, the value is
retrieved and assigned, and then incremented; if it's at the front, the value
is retrieved and incremented, then assigned.

PHPBB3-10755