Convert MonoGenericContainer/Param accessor macros to inline functions