Add xmap implementation

Function name taken from the lens library/module from
astrada/gapi-ocaml.