realm: use REALM_THREAD_LOCAL macros in mpi code
realm: use REALM_THREAD_LOCAL macros in mpi code

StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion