Fixes Issue 8041 - __gshared without initializer fails compilation.