Removing an obsolete workaround
Speeding up the stockpile item count.

kr0pper reports two orders of magnitude speed improvement for check_pile() by using the map tile item cache.