Turning empty segments in Guitar Pro 5 and below into rests

Fixes the issue of empty segments being created from Guitar Pro 5 files that specify them and instead creates invisible rests. If empty segments are detected past the end of the score, they will be removed from the score to avoid placing rests after the double bar line.