cmake: bump minimum required version to 3.22