compiletest: Add #[no_core] to fix check-stage1.