MDL-45037 gradebook: Allow dashes in xml grade values to be ignored.

This was delivering an error message when trying to import an exported
xml file (from Moodle).