[clang-repl][NFC] Fix calling convention mismatch in test

Test failed on x86 platforms due to a calling convention mismatch
when member function was called like a free function. In this patch,
member function is marked static to address this.

GitOrigin-RevId: 3ad0c6b75ea503e0a5bf2faaad9a34da0a020de0
1 file changed