librustc: Don't pass around Session with @ and make building_library just bool instead of @mut bool.