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

fixes #1023

Signed-off-by: Tim Blechmann <tim@klingt.org>
Merge pull request #1024 from timblechmann/topic/envgen_fix

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