Replace the unsafe `empty_iterator` function with `(&[]).iter()`.

Strangely enough that form works, but `[].iter()` doesn't. Either way,
we can now avoid unsafety; yay!