Shape up pdb_search a bit by making it a talloc ctx with a destructor