mtag: make get_mtag_offset() give both an mtag and an offset