Tile mode drawing optimization

Reduces CPU usage for drawing tile mode to about 50%-70% of previous value.

Addresses issue #3433

The speedup isn't as great as it could be, because we're still copying the whole map screen to the main SDL buffer every frame.

In the future, this would make stuff like semi-transparency, drawing many objects on a tile etc. faster.