Replace ASSERT in ImageRec::read with a more gentle failure