check_ide_smart: Add support for NetBSD

Thanks to Emmanuel Dreyfus for providing the patch.
check_ide_smart: "__linux__" instead of "linux"

C compilers in standards compliance mode might not define "linux", as it
doesn't begin with an underscore.