mysys/mf_fn_ext.c: typos & indents
MDEV-6939 : Dots in file names of configuration files

Use fn_ext2() to get the file extension from last occurrence
of FN_EXTCHAR ('.') instead.