Update mkarray to use the re-entrant safe strtok_r rather than strtok.
Update mkarray to use the re-entrant safe strtok_r rather than strtok.

Uses strtok_r rather than strtok.  Also initializes the value of the loop variable c.

mskucherawy/OpenARC,mskucherawy/OpenARC