s3/libads: cppcheck fix error: shiftTooManyBitsSigned: error