Fix preData custom field collection on CiviCRM 5.67+
This is an update to !222 (merged) - this function has moved in Civi 5.67.
Ideally we wouldn't be calling a function that isn't exposed to begin with - and perhaps we should have copied that function into CiviRules. The longer-term solution is to use APIv4 here. This function moved because APIv4 now has pseudo-entities for "Individual", "Organization", and "Household" - if we used APIv4 here we could take advantage of that. However, that would likely require switching to APIv4 across most or all of CiviRules.