Text this: Constraints on neutrino masses from a Galactic supernova neutrino signal at present and future detectors