[PATCH 5.2 173/413] rslib: Fix decoding of shortened codes