librustc: Forbid chained imports and fix the logic for one-level renaming imports