shutils/common.sh: setup_pkg_reqvars: declare some vars as local; fixed weird cross build issue.