Move materialize/Dematerialize calls to linkFunctionBody. NFC.

Just less code duplication.