lscpu: don't abort if cache size is unknown

First patch is a fix, the second one just a cleanup.
Then we add a test for this issue and remove some unused test output.