rustc: Forbid plugin_registrar in only rlib form

If a plugin registrar is available, the library must be found in dylib form, not
just in rlib form.

Closes #15475
I'm always sure to remind myself when I read comments about tweaking messages to go update the tests, and then I also always manage to forget by the time I `git push`...