d3dxof: Simplify error handling in IDirectXFileEnumObjectImpl_GetNextDataObject.