FMaterialKeyGeneratorContext::GetKeyGenIfEmitting

When emitting, return pointer to the ShaderKeyGenerator. In all other modes, returns nullptr.