[corlib] Add overflow checks to string padding