tests/auto/cmake: remove redundant cmake_minimum_required calls


This fixes a couple of CMake deprecation warnings:

CMake Deprecation Warning at tests/auto/cmake/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

The top-level CMakeLists.txt requires 3.16, so require that same version
here too

Pick-to: 6.8 6.7
Change-Id: Ic24e2fa5aca8edbf24d968f1303ff68321c2a166
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit330668fc4a78fd4b6af570d0bec7638787bbf6e3
parent85e8a9ed1779ea113785430498825962128bfa0e
authorAhmad Samir <a.samirh78@gmail.com>
committerAhmad Samir <a.samirh78@gmail.com>
commit timeTue, 2 Jul 2024 19:03:07 +0300