base library: RAII wrapper around Linux inotify

These need a const. constexpr doesn't imply 'const'.