Implement vtable support for autoderef.
Closes #13042.
Implement cross-crate support for autoderef.
Closes #13044.