UMaterial::CheckInValidStateForCompilation

Checks that no pre-compilation errors have been detected and if so it reports them using specified compiler.