fix Issue 13225 - [ICE] Access violation on invalid mixin template instantiation
Remove redundant error
fix Issue 13245 - segfault when instantiating template with non-compiling function literal