Merge #10292: Improved efficiency in COutPoint constructors