Quenching through Dirac and semi-Dirac points in optical lattices: Kibble-Zurek scaling for anisotropic quantum critical systems