Update darkfoxprime-akaplugin.c

aliases_changed_cb: remove unneeded initialization of scan; document for loop conditions; fix reset after adding an alias to also reset "end".
find_utf8_substr: convert while loop to for loop