A pulsational distance to omega Centauri based on near-infrared period-luminosity relations of RR Lyrae stars