Avoid use of Gtk name in test/canvas.jl if it isn't loaded

Even though it's inside an `if...end` block, the reference to `Gtk` casues a problem whenever a `:tk` output surface is present.