libsdl-x11-sudo-issue: rewrite in C

C++ complexity is not needed for this simple example.

Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>