Move function ascii_to_dec to utils.[ch]

Function ascii_to_dec(char*, int*) has been moved from the main
code file scriptinterpreter.c to utils.[ch].
Fixing missing include

In the recent refactoring of ascii_to_dec(..), a necessary #include
statement was missed in the commit. Code compiles now again.