[IR] Move GlobalValue::getGUID() out of line (NFC)

Avoid including MD5.h in a core IR header.
14 jobs for main
in 0 seconds and was queued for 0 seconds