make select const, use unique_ptr for selector in DiPhotonProducer

very minor technical fixes to previous pull's additions