Don't set GTK+ variables when GTK+ is disabled.

* configure.ac
  - Don't set GTK_BINARY_VERSION GTK_LIBDIR
    when GTK+2 feature is disabled.
  - Don't set GTK3_BINARY_VERSION GTK3_LIBDIR
    when GTK+3 feature is disabled.