rtemstoolkit: Fix the parsing of the revision string to a number.
Fix provided by Amar on the user list:
https://lists.rtems.org/pipermail/users/2018-October/032714.html