Use network-specific genesis hash.

The test in checkConnectBlock for whether or not the node is the genesis
block needs to account for the genesis block of the specified network.