Core/Loot: Fix generating SQL loot script
Core/Loot: Fix Loading gameobject_loot_template