putty: add optional dep on gtk+

Closes #17533.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>