backport fix Issue 12262 - A specialized parameter `alias a : B!A` should not match to the non-eponymous instantiated variable

Conflicts:
	src/template.c
	test/runnable/template9.d

Signed-off-by: Martin Krejcirik <mk@krej.cz>