tests, native: fixup for cpuid

- adopt test name to new scheme
- make cppcheck happy / dont overwrite the target memory location twice
- fix license header
- don't redefine define if it already exists
- don't write more cpuid than is defined as size
Merge pull request #1529 from LudwigOrtmann/cpuid_fixup

tests, native: fixup for cpuid