librustc: Fix some librustc test modes. rs=bustage