GS-DMR: Low-overhead soft error detection scheme for stencil-based computation