devel/libtap: Fix build with CMake 4
Update cmake_minimum_required to 3.10
PR: 298617 Reported by: arrowd