script: fix compilation on GNU/Hurd (patch #7977) (thanks to Andrew Potter)

PATH_MAX is now defined in weechat-plugin.h (if not defined, for example on
GNU/Hurd), so that all plugins can use it.
fifo: remove #define MAX_PATH (now done in weechat-plugin.h)