More Solaris additions.

Scanning through the sources I found some places where declarations for Solaris
are missing. This is not complete!
Merge pull request #1053 from redstar/solaris_additions

More Solaris additions.
Start separating linux kernel and glibc APIs using the new CRuntime_Glibc, along with CRuntime_Bionic