update libffi dependency for arm64 to release v3.4.2 and add scripts to generate static libffi static library
The patch updates the libffi dependency for arm64 to v3.4.2 and contains a script to generate libffi from sources.
This patch also uses static library for libffi instead of the import library and shared object previously used to be independent of the libffi DLLs provided within python.