altos/draw: Convert draw test framework to modern C