replace RCT2_GLOBAL calls with macros where possible