gencommit: use pinentry if X11 is available
gencommit: use pinentry if X11 is available

A bit conflicted about this.

grawity/hacks,grawity/hacks,grawity/hacks,grawity/hacks,grawity/hacks,grawity/hacks,grawity/hacks