Cleanup: remove unsupported defines or negative-defines: NOLIBC, DCONTEXT_IN_EDI, etc.
There are several defines we can eliminate:
DCONTEXT_IN_EDI: Remove all its code. NOLIBC: Remove all the negative code.
Xref #4045 on unsupported API define removal Xref #2971 (closed) on supported API define removal