rustc: added a check for builtin bounds to vtable search

There wasn't a check for builtin bounds when looking up vtables, only for trait bounds.

Closes #10751