flowgrind: fix off by one error in RPC port parsing

This is a fix for "can't specify port number of RPC server"
https://bugs.launchpad.net/flowgrind/+bug/1196972

Reported by Lars Eggert.