Giants in the globular cluster \ensuremathømega Centauri: dust production, mass-loss and distance}