geanylua: Fix build with GTK3
geanylua: Build with C89

Use GLib functions whenever possible not to depend on non-C89
functions, and define the proper feature macros for the rest (namely,
_BSD_SOURCE for stat() and lstat()).
geanypg: Check for fdopen() and define POSIX feature check macros
Don't use C++-style comments