ftrace/MIPS: Add module support for C version of recordmcount