Fixing the MSVC build by removing friendship with CodeGenFunction; NFC.