scripts: Add test that linux is not tainted

When enabling lock debugging, linux will warn about certain bugs, but
unless some unrelated test fails, we will not see these warnings. Add a
test that will fail if linux is tainted so we can at least catch this if
it happens during boot.

Bug: 178041334
Change-Id: Ibd7a5695177960cbad754a280b546da825773db7
1 file changed