trafgen: setup_shared_var: fix reamainders

Commit bf9232fb6 ("trafgen: setup_shared_var: fix couple of things")
forgot to amend the remaining changes in 'len' usage. So lets fix
them right now.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>