[Coroutines] Remove unused variable [NFC]

gcc warned about it:
 ../lib/Transforms/Coroutines/CoroFrame.cpp:2785:15: warning: unused variable 'MD' [-Wunused-variable]
  2785 |   if (MDNode *MD = AI->getMetadata(LLVMContext::MD_coro_outside_frame))
       |               ^~

Fix the warning by removing the unused variable and change the call
from getMetadata to hasMetadata.

GitOrigin-RevId: 9284b03e87df5153fe425b6b81b8402f666deb18
1 file changed