Revert "[cleanup] Remove deprecated constructor of DGFGridFactory."

This reverts commit a123779cdbf6a61ff3a4dca7614856c2b9992a39.
The deprecated constructor is still in use. It will stay until it
is replaced by a successor.