[Samples] Update CustomEffect with latest changes from tkfxc/Effect compiler.