Quantum Hall effect in topological Dirac semimetals modulated by the Lifshitz transition of the Fermi arc surface states