Using γ rays to disentangle fusion-fission and quasifission near the Coulomb barrier: A test of principle in the fusion-fission and quasielastic channels