OpenDingux: Correctly unlock and lock the surface for blitting the unscaled mode border.
OpenDingux: Use triple buffering in SDL if supported.