Fix creation of game.dat database.

Fix a problem introduced previously that failed to construct the game
database during the initial LoadBlockIndex where it is necessary.