Constraints on primordial magnetic fields from CMB distortions in the axiverse