Fixed kextdevmode check

The previous version would not correctly detect the kextdevmode=1 in case there were other bootflags, like -v.
Now it uses the exit status of grep (using string match) to understand whether "kextdevmode=1" is present or not.