Common: replaced longs to respected types in SpriteCache

The SpriteCache offsets are currently based on signed 32-bit values.