[MCJIT] Replace a c-style cast with reinterpret_cast + static_cast.