Radiative atomic data for neutral magnesium. II: Photoionization cross sections