Fixes a PHP notice when trying to find related items on a custom post ty...

...pe that is defined outside of Pods. This works around not being able to find the field "pod_id". This should resolve #1821 on pods-framework/pods. This is patched on branch 2.4x instead of 2.3x of last commit. Oops.