[packages] add libffi

import from oldpackages

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>