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

Can be removed after a snapshot I believe.