core: fix difference between master and 0.9 regarding z_stream_start.