fix a small oversight in the "eliminate memcpy from constant global"