Drop libio and libstdc++ from buildsystem of legacy gcc.

* libio can't be built without exposing glibc-internal stuff and
  we don't need either because Haiku provides its own version 
  of the legacy libstdc++