Add some consts to networkstatus_getinfo_by_purpose()
We shouldn't modify any of the data structures passed to networkstatus_getinfo_by_purpose(). But the current design modifies the running flag in the GETINFO.
The patch I'm about to post makes sure we don't accidentally modify any more of the data structures.
Thanks to komlo - the patch was her idea, and she helped create it.