inotify: Add autoload cookie.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
inotify: Use `derived-mode-p' instead of `eq'-check.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>