OCE 0.18.2 segfaults with IGES model (lp:#1738872)

[Original report](https://bugs.launchpad.net/bugs/1738872) created by **Nick Østergaard (nickoe)**
```
This is with oce 0.18.2-2 on archlinux. I can make it render some models,
but I think this single model makes it crash. Attached is a test project
which should segfault when opening any 3D view that loads that model. The
big 3d-viewer or the previewer or 3D properties viewer.

Snipper of backtrace, full backtrace in the attached zip file.
#0  0x00007f9a3481e65e in BRepGProp_Face::Load(TopoDS_Edge const&) () at
/opt/oce/lib/libTKTopAlgo.so.11
#1  0x00007f9a348255c6 in BRepGProp_Gauss::Compute(BRepGProp_Face&,
BRepGProp_Domain&, gp_Pnt const&, double&, gp_Pnt&, gp_Mat&) ()
    at /opt/oce/lib/libTKTopAlgo.so.11
#2  0x00007f9a34826e05 in BRepGProp_Sinert::Perform(BRepGProp_Face&,
BRepGProp_Domain&) () at /opt/oce/lib/libTKTopAlgo.so.11
#3  0x00007f9a3481bdc5 in BRepGProp::SurfaceProperties(TopoDS_Shape const&,
GProp_GProps&) () at /opt/oce/lib/libTKTopAlgo.so.11
#4  0x00007f9a34c0c34d in ShapeAnalysis_Wire::CheckSmallArea(TopoDS_Wire
const&, bool) () at /opt/oce/lib/libTKShHealing.so.11
#5  0x00007f9a34c399cb in ShapeFix_Face::FixSmallAreaWire(bool) () at
/opt/oce/lib/libTKShHealing.so.11
#6  0x00007f9a34c4840b in ShapeFix_Face::Perform() () at
/opt/oce/lib/libTKShHealing.so.11
#7  0x00007f9a34c6da9e in
ShapeFix_Shape::Perform(Handle_Message_ProgressIndicator const&) () at
/opt/oce/lib/libTKShHealing.so.11
#8  0x00007f9a34c6de90 in
ShapeFix_Shape::Perform(Handle_Message_ProgressIndicator const&) () at
/opt/oce/lib/libTKShHealing.so.11
#9  0x00007f9a34d019c6 in  () at /opt/oce/lib/libTKShHealing.so.11
#10 0x00007f9a34cfe8aa in ShapeProcess::Perform(Handle_ShapeProcess_Context
const&, char const*) () at /opt/oce/lib/libTKShHealing.so.11
#11 0x00007f9a35101a86 in XSAlgo_AlgoContainer::ProcessShape(TopoDS_Shape
const&, double, double, char const*, char const*,
Handle_Standard_Transient&, Handle_Message_ProgressIndicator const&) const
() at /opt/oce/lib/libTKXSBase.so.11
#12 0x00007f9a3869b221 in
IGESToBRep_Actor::Transfer(Handle_Standard_Transient const&,
Handle_Transfer_TransientProcess const&) ()
    at /opt/oce/lib/libTKIGES.so.11
#13 0x00007f9a3502873f in
Transfer_ActorOfTransientProcess::Transferring(Handle_Standard_Transient
const&, Handle_Transfer_ProcessForTransient const&) () at
/opt/oce/lib/libTKXSBase.so.11
#14 0x00007f9a3503a5a2 in
Transfer_ProcessForTransient::TransferProduct(Handle_Standard_Transient
const&) () at /opt/oce/lib/libTKXSBase.so.11
#15 0x00007f9a3503bcff in
Transfer_ProcessForTransient::Transferring(Handle_Standard_Transient
const&) () at /opt/oce/lib/libTKXSBase.so.11
#16 0x00007f9a3503c498 in
Transfer_ProcessForTransient::Transfer(Handle_Standard_Transient const&) ()
at /opt/oce/lib/libTKXSBase.so.11
#17 0x00007f9a350bebd6 in
XSControl_TransferReader::TransferOne(Handle_Standard_Transient const&,
bool) () at /opt/oce/lib/libTKXSBase.so.11
#18 0x00007f9a350b9650 in XSControl_Reader::TransferRoots() () at
/opt/oce/lib/libTKXSBase.so.11
#19 0x00007f9a3e33c729 in
IGESCAFControl_Reader::Transfer(Handle_TDocStd_Document&) () at
/opt/oce/lib/libTKXDEIGES.so.11
#20 0x00007f9a3ebf46f0 in readIGES(Handle_TDocStd_Document&, char const*)
(m_doc=..., fname=0x5611b1dbb5b0 "/home/nickoe/test_proj/User Library-
Fuse_Holder.IGS") at /home/nickoe/kicad-source-
mirror/plugins/3d/oce/loadmodel.cpp:415
#21 0x00007f9a3ebf49d8 in LoadModel(char const*) (filename=0x5611b1dbb5b0
"/home/nickoe/test_proj/User Library-Fuse_Holder.IGS")


Application: kicad
Version: (2017-12-18 revision 3c6d17026)-master, debug build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.57.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0
(+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.28.0
Platform: Linux 4.14.6-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.65.1
    Curl: 7.57.0
    Compiler: GCC 7.2.1 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON
```
Original tags: 3d-viewer oce pcbnew

Story points: 12.0