hooks: only generate/register 32bit pkgs on x86.