[Git][openldap/openldap][master] ITS#9226 Fix link order for rewrite program on MinGW