properly identify exotic LDR image formats as non-raw (fixes #10113)