src/termlib.c: remove

termlib is only useful for VMS systems. for modern Unix systems, it's
useless.
src/: cleanup FEAT_GUI_PHOTON

FEAT_GUI_PHOTON  is QNX-specific feature.
src/term.c: small cleanup