SrcLoc in FFI errors

Fixes #240