libffi: Fix build on Darwin
Merge updated #1187: grsecurity stuff

Added attempt to fix libffi on darwin.