split ogg2mogg into a library

to be linked into the new mtolly/onyxite-customs@shake build tool