Use unique_ptr to manage PassInfo instances in the PassRegistry