Fix missing "data" method when accesing a Git::Submodule

When comparing two commits, which lists differences involving a submodule, a "missing 'data' method on Grit::Submodule" error is thrown.

This fixes that use case.