get_filename_table_size realloc fix.

Since local variable *filenames* isn't updated after recursion call in function *get_filename_table_size* of dump.c it causes realloc error when debug mode is enabled in C compiler and mrbc. By updating it after the call It will be fixed.
Additionally to check these kind of bug I added *enable_debug* method to pass debug flag to both C compiler and mrbc.