SDL: support color depths 8 and 24 additionally to 16