librustc: De-`@mut` the value and type ribs in the resolver