erts: Move compiler flags generation

Move the call to utils/make_compiler_flags to after _create_dirs
to make sure that the dirs are created before we try to generate files
in there. This seems to work with parallel make as well, but I cannot
find any documentation that says that it should or should not work.
erts: Fix resolve of generated files for depend
Add test for unknown elliptic curve supported by client

When TLS client sends a Supported Elliptic Curves Client Hello Extension
containing an unknown curve enum value, a server crashes with a
function_clause instead of just ignoring specified unknown curve.
ssl: Server now ignores client ECC curves that it does not support instead of
crashing.

When TLS client sends Supported Elliptic Curves Client Hello Extension
the server shall select a curve supported by both sides or refuse to
negotiate the use of an ECC cipher suite.
Fix evaluation of empty map updates in erl_eval
Fix evaluation of empty map updates in the debugger
Fix evaluation of empty map patterns in erl_lint

Reported-by: José Valim
Merge branch 'lukas/erts/make_deps_fixes/OTP-11784'

* lukas/erts/make_deps_fixes/OTP-11784:
  erts: Fix resolve of generated files for depend
  erts: Move compiler flags generation
Merge branch 'ia/ssl/ECC-error-handling/OTP-11780'

* ia/ssl/ECC-error-handling/OTP-11780:
  ssl: Server now ignores client ECC curves that it does not support instead of crashing.
  Add test for unknown elliptic curve supported by client
Merge branch 'nox/maps-eval-empty-update'

* nox/maps-eval-empty-update:
  Fix evaluation of empty map patterns in erl_lint
  Fix evaluation of empty map updates in the debugger
  Fix evaluation of empty map updates in erl_eval