crypto: sm3 - fix undefined shift by >= width of value