THE CHANDRA COSMOS LEGACY SURVEY: CLUSTERING of X-RAY-SELECTED AGNs at 2.9 < z < 5.5 USING PHOTOMETRIC REDSHIFT PROBABILITY DISTRIBUTION FUNCTIONS