Update autorevision with latest, portable, version from git

This is required to build warzone2100 on FreeBSD, and was successfully tested with with 3.1.0.

I'm not sure which branch this should go in, but bugfixes seems to be appropriate given that this is technically a compatibility fix, shouldn't have any regressions and should go into both master and 3.1.