lib: fix ishrn out of bounds
0.5.3