Higher-order Dirac semimetal in a photonic crystal