refactor: unwrap functables more generally.

* lib/specl/inprocess.lua (capture): Move functable unwrapping
from here...
* lib/specl/compat.lua (setfenv): ...to here.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>