Affected versions of this crate API could use uninitialized memory with some APIs in special
cases, like use the API in none generator context. This could lead to UB.
The flaw was corrected by https://github.com/Xudong-Huang/generator-rs/issues/9
This patch fixes all those issues above.