Photon Production from the Vacuum Close to the Superradiant Transition: Linking the Dynamical Casimir Effect to the Kibble-Zurek Mechanism