RCT_CALLFUNC now saves flags register.

This is a slight enhancment as mentioned in #422. I've added a little comment on how to use the flags register as well.
I have not tested this on anything other than Visual Studio so there is a chance it will not work.