Jim Cramer explains how investors can shield their portfolios from tensions between North Korea and the United States.