lyx2lyx: fix convert_chunks for empty chunk layouts

Fixes: #9298