[otp_mibs] Update types of applicable MIB objects to 64bit based types.
[otp_mibs] Add test suite for range checks and reduction value overflow.
[otp_mibs] Add type based integer value truncation/reset.

This fixes errors when querying e.g. the erlNodeReductions,
erlNodeInBytes and erlNodeOutBytes objects in long-running
Erlang/OTP systems.
Fix changing terminal parameters in to_erl

One of our devices does not like 'to_erl' to be run over a serial port.
When to_erl is started, we see "Attaching to /tm<0xFF>" being printed
and the device then refuses to accept any input. Occasionally, we have
seen a linux kernel error message "serial8250: too much work for irq16"
simultaneously. After some debugging we found out that cause is a call
to tcsetattr() by to_erl, immediately preceeded by some printf().

The UART in our device doesn't like hardware parameters to be changed
while output is concurrently active. In fact, the GNU libc manual also
mentions that it might be dangerous to change UART hardware parameters
when a transmission is ongoing.

The patch attached to this e-mail changes the behaviour of to_erl to use
TCSADRAIN instead of TCSANOW when changing terminal parameters. This
makes the serial driver wait for the output queues to be empty before
applying the terminal parameter change.
Merge branch 'sze/to_erl/OTP-11206' into maint

* sze/to_erl/OTP-11206:
  Fix changing terminal parameters in to_erl
Merge branch 'maint'
Merge branch 'ts/otp_mibs_fix_type_overflows/OTP-11203'

* ts/otp_mibs_fix_type_overflows/OTP-11203:
  [otp_mibs] Add type based integer value truncation/reset.
  [otp_mibs] Add test suite for range checks and reduction value overflow.
  [otp_mibs] Update types of applicable MIB objects to 64bit based types.