BUG: CSV C engine raises an error on single line CSV with no header w…
…hen passing extra names (#47566)

* Expect the provided number of columns when the names property is set

* Add tests to demonstrate handling of files with a single row with fewer columns.

- [x] closes #47566 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [x] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

thx @joelsonoda 

 As a side note: At some point this needs fixing in the actual parsing code.