customize: perl_edit: Type of Guestfs_val() param is a Guestfs.t not the object wrapper.

This fixes commit c6b7e6cddac850d6d2caf2e2f3060467c38397fe.
builder: Add test of the --edit option.