Topological hinge modes in Dirac semimetals