Fix crash on GetLoot when its an item that have no loot.
Add security check to see if the player have realy the right to receive the item in autostore opcode handler.

 (Thank to Laizerox for his excelent feedback!)