[PATCH 4.9 059/223] rslib: Fix decoding of shortened codes