Human rights experts said some security measures for the 2024 Paris Olympics were "unnecessary or disproportionate" while others "were discriminatory or even unlawful".