Fix variant selection in dg-cmp-results.sh