[PATCH AUTOSEL 5.18 31/56] habanalabs/gaudi: fix shift out of bounds