Disable rtti for gcc, if analyze option is not set.

It is the same logic as in workspace_tools/toolchains/arm.py.