This updates the private copy of libelftc_dem_gnu3.c in libcxxrt with
the most recent version from upstream r3806. I also added all the fixes
from D27058.
We should really have some way of either automatically updating this
file from libelftc, or make it use the libelftc .c files directly, but
for now this will do.