Fix lshift with large values.