loc, xmlt, s3: complete Error API transition
loc.ml now exposes [Error.v], [Error.msg], [Error.raise], [Error.fail],
[Error.failf] (old [msg]/[msgf] renamed to raise-flavour [fail]/[failf]).
Flattens [line_pos] pair into separate [first_line_num]/[first_line_byte]
fields to match the .mli.