Check if the #[task] macro properly handles unsafe functions so the `unsafe_op_in_unsafe_fn` lint still works