Bugfix for resuming with an implicit internal encoding.
Mask mode: When !FMT_CASE, produce lower case candidates instead of upper
case ones. There's a slight difference with some encodings.
Revert to use a safer memory access patern. Need to investigate what is wrong with the program.