erts: Fix bs_get_integer instruction

The instruction bs_get_integer could unnecessarily trigger a garbage collection
in failure cases which is unwanted or outright dangerous.

Ex:

    <<X:Sz,_/bits>> = <<"some binary">>

Previously, if Sz induced X to a bignum it would reserved memory size this on
the heap via a garbage collection before checking if the size could actually match.

It will now check the binary size before triggering a collection.
Ignore warnings when running sys_core_fold after inlining

The new inliner (cerl_inline) does not mark inlined code as compiler
generated. Therefore, when sys_core_fold is run after inlining, it
may generate spurious warnings.

The easiest way out (for now, at least) is to discard all warnings
found when running sys_core_fold after inlining.
erts: Remove overestimation of heap space in binary_to_term

for 32-bit integers (INTEGER_EXT) on 64-bit architectures.
erts: Reduce heap usage for binary_SUITE:deep
erts: Fix useless comparisons in binary_SUITE:external_size
erts: Update etp-commands with heap-dump
Handle binary input in console helpers

The standard_input may be set to binary mode via io:getopts/2
and in case such cases the "i/0" console helper got stuck as
it was unable to match new lines in binaries.
Add support for the separate tinfo library from ncurses

Recent versions of ncurses can be built with terminfo symbols
moved into the separate tinfo library.
This patch prevents erts configure from dying by adding the tinfo
library to list of termcap lib candidates.
Adapted reltool test server to common test usage of tc_status
Add missing default value for regexps in reltool
It caused a function clause in lists:sort/1:

  reltool_server_SUITE.erl(2512): <ERROR>
  Not matching actual result was:
   {error,
       {function_clause,
           [{lists,sort,
                [[{regexp,"^priv",
                      {re_pattern,0,1,
                          <<69,82,67,80,64,0,0,0,16,8,0,0,0,0,0,0,0,0,0,0,0,
                            0,0,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                            0,0,0,93,0,12,25,27,112,27,114,27,105,27,118,84,
                            0,12,0>>}}|
                  undefined]],
                [{file,"lists.erl"},{line,465}]},
            {reltool_server,decode,2,[{file,"reltool_server.erl"},{line,1499}]},
            {reltool_server,decode,2,[{file,"reltool_server.erl"},{line,1363}]},
            {reltool_server,read_config,2,
                [{file,"reltool_server.erl"},{line,1335}]},
            {reltool_server,parse_options,4,
                [{file,"reltool_server.erl"},{line,224}]},
            {reltool_server,do_init,1,[{file,"reltool_server.erl"},{line,154}]},
            {reltool_server,init,1,[{file,"reltool_server.erl"},{line,133}]},
            {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}}
  Expected { ok , _ }
erts: Simplify term_to_binary by removing saved ESTACK from root set

We disabled GC (in 522a29666088d5) during trapping and don't need to
include the saved ESTACK as part of root set.
erts: Remove the extra_root feature from the process structure

as we don't use it and instead have the feature to disable GC
during trapping BIFs.
erts: Extend binary_SUITE:ttb_trap to also cover binary_to_term

and rename it 'trapping'.
erts: Run binary_SUITE:trapping even for 32bit

Not sure why it was disabled for 32bit in the first place?
ssl: Add missing options validation of server_name_indication
ssl: Prepare for release
ssl: fix elliptic curve selection in server mode

The server code erroneously took the list of curves supported by the
client from it's own hello extension, effectively breaking curve
selection all together.

Also the default fallback secp256k1 curve is not supported by
all clients. secp256r1 is recommended as part of the NIST Suite B
cryptographic suites. The chances are much better that all clients
support it, so use that as fallback.
ssl: Prepare for release
erts: Fix compiler warnings for NO_JUMP_TABLE
erts: Fix benign ESTACK/WSTACK typo