Stack Issue

frankenstein: fix some valgrind complaints #865

Project opm-simulators