Fix compiler errors in menu.c

Added #include<stdlib.h> to provide calloc() to eliminate compiling error.

Changed typeof mxt_menu()::menu_input from "char" to "unsigned char" to eliminate
compiling error in some compilers.