deps: use libffi 3.1-rc1 release instead of git submodule

The configure script has been removed from libffi.git.
Changes: update