Fix GetCurrentClassLogger when inlined by mono.