lswr: fix assert failure on unknown layouts.