I have no clue why, but when I use ldc2 instead of dmd it works without problems. gdc unfortunately drops some other errors.

So the correct command to compile the example is:

ldc2 hello.d -v `pkg-config --cflags --libs gtkd-3`