[Fix] Patch globalscripts technology template helper after rP26015 and the ProductionQueue split
Patch by @s0600204.
This lets all technologies show up correctly in-game and in the structure tree again.
accepted by: @marder @Freagarach
Fixes: #6587
Differential Revision: https://code.wildfiregames.com/D4755