luaffi: Get rid of closure stuff. Closes #771