xtr_base_c: add m_debug bool
mkvextract: refactor handle_frame() parameters
mkvextract: rafactoring; common code extraction