CLN: de-duplicate asof_locs
We might want to deprecate allowing DatetimeIndex `where` in `PeriodIndex.asof_locs`.  We only have one test for it, and allowing it is inconsistent with how we treat other comparisons (unless we want to start allowing dt64 in PeriodArray.searchsorted...)