Fix file selector for md-toc pre-commit hook

The md-toc pre-commit hook is currently configured as

- id: md-toc
  files: README.md CONTRIBUTING.md

but this setup does not work correctly, and should be, according to the manual, like

- id: md-toc
  types:
    - file
    - markdown
    - non-executable
    - text