Replace MCDeferredVariable::createwithname_cstring method

The new method takes a NameRef instead of a C string.