Remove pointless dependencies from mediawiki.legacy.config

* The code has never actually depended on wikibits (or at least
  doesn't now).
* These files are not actually loaded via ResourceLoader, so
  dependencies etc. don't work anyway.

Change-Id: Id99903c68e98c0c3c832128b891699360c9391ea