Bugfix: gridseed: Implement a proper scanhash routine for GridSeeds

Previous behavior worked, but not intentionally
Just saying, the loop should be exiting *before* full_range_scanned can become true, otherwise it will be a problem should a nonce range complete.