sw: convert legacy assertions in frmsh.cxx

Change-Id: If23d47cdee2ab6f4e7f728da02c0db6d23407c8f
sw: convert more legacy asserts

Change-Id: I602913a1cfb8dda072945770a585e6cd9fd3e134