scripts: bundle-libraries.sh: support mixing 32bit and 64bit binaries