gh-37338: Speedup database_matroids.py tests
I strategically recast a few matroids in `database_matroids.py` to
`CircuitsMatroid`s (given #37148).
On my old laptop, this results in a `x5` speedup in the testing of the
file, and in a `x2` speedup in the testing of the whole of the
`matroids` module (saving `~1m`).
URL: https://github.com/sagemath/sage/pull/37338
Reported by: gmou3
Reviewer(s): Travis Scrimshaw