Revert "frameworks/native: Fix build with ISO C++11 compilers"

This reverts commit b3873392d69a8ea8fe6783e03fa21d8361c08a6c.
Revert "frameworks/native: Fix build in ISO C++11 mode"

This reverts commit 767cb49aeb9c99a2c682a6ef47d3665a45ffdb49.
Revert "frameworks/native: Fix build in ISO C++ 11 mode"

This reverts commit b23cd429839b0230650b041c4ff17246b23e509e.
Revert "binder: Fix ABI incompatibility between older and newer compilers"

This reverts commit 819712dcf5b1785653f3584d6ef3da5b8bdffd55.
Ensure dumpstate children die

Use prctl(PR_SET_PDEATHSIG, SIGKILL) in each forked child to ensure
it dies when dumpstate dies.

This is important for two cases:
- dumpstate runs a timer for each child process.  On expiration, it
  sends SIGTERM to kill the process.  Sometimes SIGTERM isn't enough
  to kill a hung process, so the child lives on.
- When dumpstate is killed by the user before completing, outstanding
  children continue to run and generate output.

Change-Id: I96e0dc918c26d56c9fee53611980ba2edd238712
dumpstate: use correct header file.

Change-Id: I006d7a219ce6309259f271beff6011cc266f1a61
Simplify OpenGL TLS access on ARM.

bionic now assumes the TLS register is available, so OpenGL can too.

Change-Id: If2b56a4c08de9f887759b78f70022026a181dc47
Abort surface composition if hw surface is invalid

If an invalid display device is detected during surface composition
(e.g., a simulated secondary display is removed), abort the
composition.

Change-Id: Ia6afb2e287882d8ae0614eb25463d3f85b687adf