[packages] libftdi: fix build for x86_64 target.