erts: getsockname is not allowed on non-bound sockets

This only produces an error on win32, but should not really be called
on *nix either.
erts: Fix ub in list_to_integer and bignum div
erts: Mend run_erl to set windows size of terminal sent from to_erl

Need to include sys/ioctl.h for TIOCSWINSZ to be defined.

Seems this was broken when refactoring run_erl for OSE in OTP 17.0.
ssh: Correct typo of renegotiate that could cause rekeying to fail
Merge branch 'sverk/run_erl-winsize-fix/OTP-12275' into maint-17

* sverk/run_erl-winsize-fix/OTP-12275:
  erts: Mend run_erl to set windows size of terminal sent from to_erl
Merge branch 'sverk/cpool_fetch-dc_list-bug/OTP-12249' into maint-17

* sverk/cpool_fetch-dc_list-bug/OTP-12249:
  erts: Fix bug when delayed deallocated carrier is reused by cpool_fetch
Prepare release
Updated OTP version
Merge branch 'ia/ssh/rekeying-typo/OTP-12277' into maint

* ia/ssh/rekeying-typo/OTP-12277:
  ssh: Correct typo of renegotiate that could cause rekeying to fail
Merge branch 'lukas/erts/fdopen_non_bound_win32_fix/OTP-12289' into maint

* lukas/erts/fdopen_non_bound_win32_fix/OTP-12289:
  erts: getsockname is not allowed on non-bound sockets
Merge branch 'lukas/erts/fix_undefined_behaviour/OTP-12290' into maint

* lukas/erts/fix_undefined_behaviour/OTP-12290:
  erts: Fix ub in list_to_integer and bignum div
Merge branch 'maint-17' into maint

Conflicts:
	OTP_VERSION