Add new function lto_set_write_options.
Move merge option logic to lto1 from lto-wrapper
WIP