d3dxof: Make sure the returned object pointer is null when there are no more children.