cmake: Switch to `find_package(Python3)`. The existing way of working used in this file was deprecated in cmake 3.12 and a new way supplied. See https://cmake.org/cmake/help/latest/policy/CMP0148.html