Fix compilation on OpenSolaris 11.

With these changes, druntime can be compiled on OpenSolaris 11 and the unit tests can be run.
Most of tests passes.
Merge pull request #781 from redstar/solaris

Fix compilation on OpenSolaris 11.
compare function is not @nogc
Merge pull request #779 from WalterBright/compare-fp

qsort/bsearch compare function is not @nogc
gc.gc: Fix SENTINEL to be a debug version

Match the commented-out declaration at the top of the module.
gc.gc: Fix memory corruption with debug=MEMSTOMP
gc.gc: Add debug=INVARIANT option

GC invariants take a long time to run when enabled,
and it is useful to disable them without also disabling
everything else affectedy the -release switch.
gc.gc: Fix compilation with debug=SENTINEL
gc.gc: Return sentinel-constrained size in alloc

This fixes basic array appending with debug=SENTINEL.
Merge pull request #778 from CyberShadow/gc-debug

Some fixes in GC debugging code