Fix dwarf melkor fuzzing

Partially fixes #1640