guide-pointers.md: C sample code should match the Rust version.

Fixes rust-lang/rust#17255