inotify: remove calls to os.NewSyscallError

follow the commit: 719fef588d53f4ccdf94803732cc34a6097ce1b7