[Git][openldap/openldap][master] ITS#10177 fix back-perl build for clang15 or later