ascii_graph: Improve version check

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>