hooks/gen-pkg: use local vars for 32bit provides conversion.