#9062 (FIX): Set relevant fields to related layer

Fix the #9062 issue to avoid that OgrFeatureIterator always fetchs all
feature attributes