Update libffi to 3.2.1

Update libffi from 3.1 to 3.2.1
Re-apply customizations from the libffi 3.1

Re-apply customizations from the libffi 3.1
Merge pull request #2 from gustavotemple/update-libffi

Update libffi to 3.2.1