Update libffi to 3.1