Skip saving (empty) undo data when the save limit is not positive

This simple patch prevents empty undo sections from being saved to file, making diffs much more clean when font files are under revision control.