rustc: be more careful about detecting local rustc for bootstrap