plugins: EnvGen - update number of produced samples on audio-rate gates

fixes #1023

Signed-off-by: Tim Blechmann <tim@klingt.org>