[mr2822] Allow spells with target flag TARGET_SCRIPT works with GameObjects (implement 45536 spell)

* fixes quest 11610.
* probably fixes more such things.