Relicense most GPL-2.0-only test files to GPL-2.0-or-later

All contributors are recorded in relicensecheck.pl
Status Job ID Name Coverage
  Build
canceled #66826
linux kf5-qt5 qt5.12