Update libffi

Updates the libffi to version 3.1 in order to support the ppc64le architecture.