[12535] Loot-System: Fix reference loading check

This fixes a false error output for loot references that are only used with spell loot.

Thanks to X-Savior for properly reporting both error messages and use case