Bug fix in QV.c

The way the default substitution character was determined meant that if
there is a run length that only occurs in the first 100K characters,
then it has no code.  Fixed so that every possible run length has a
code.