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