Baryogenesis from decaying magnetic helicity