Fix debug-vertical-alignment() to use half a rhythm unit if -to-nearest-half-line is true