memory_share: fix wrong argidx in extra_args