Merge to XFA: Fix stack exhaustion in CPDF_DataAvail::HaveResourceAncestor()