[libc] Replace the use of gtest with a new light weight unittest framework.