Measurement of the magnetic hyperfine splitting of nuclear γ rays in muonic thallium