remove calls to DataFrame.consolidate in benchmarks
The ``DataFrame.consolidate`` method has been removed for 0.24 (in #23377), but there are still some calls to it in the asv benchmarks.  I had a failure in #23752 because of this, so hereby a fix.

This PR uses the internal  ``_consolidate`` method instead.