Fix logic in declaring extern functions that take user context
Fix logic in declaring extern functions that take user context

psuriana/Halide,ronen/Halide,fengzhyuan/Halide,dan-tull/Halide,ronen/Halide,smxlong/Halide,mcanthony/Halide,myrtleTree33/Halide,dan-tull/Halide,delcypher/Halide,kgnk/Halide,rodrigob/Halide,jiawen/Halide,dan-tull/Halide,mcanthony/Halide,psuriana/Halide,kenkuang1213/Halide,lglucin/Halide,dougkwan/Halide,dan-tull/Halide,adasworks/Halide,smxlong/Halide,aam/Halide,myrtleTree33/Halide,rodrigob/Halide,smxlong/Halide,lglucin/Halide,ronen/Halide,mcanthony/Halide,lglucin/Halide,ayanazmat/Halide,jiawen/Halide,kgnk/Halide,tdenniston/Halide,ayanazmat/Halide,lglucin/Halide,fengzhyuan/Halide,lglucin/Halide,myrtleTree33/Halide,mcanthony/Halide,kgnk/Halide,tdenniston/Halide,kenkuang1213/Halide,ayanazmat/Halide,ayanazmat/Halide,mcanthony/Halide,damienfir/Halide,damienfir/Halide,jiawen/Halide,smxlong/Halide,adasworks/Halide,delcypher/Halide,ayanazmat/Halide,kenkuang1213/Halide,ronen/Halide,jiawen/Halide,psuriana/Halide,damienfir/Halide,psuriana/Halide,dougkwan/Halide,psuriana/Halide,ayanazmat/Halide,ronen/Halide,kgnk/Halide,delcypher/Halide,psuriana/Halide,kenkuang1213/Halide,delcypher/Halide,fengzhyuan/Halide,adasworks/Halide,tdenniston/Halide,myrtleTree33/Halide,dougkwan/Halide,fengzhyuan/Halide,damienfir/Halide,rodrigob/Halide,dan-tull/Halide,rodrigob/Halide,fengzhyuan/Halide,damienfir/Halide,dougkwan/Halide,delcypher/Halide,dougkwan/Halide,dan-tull/Halide,aam/Halide,aam/Halide,ronen/Halide,psuriana/Halide,kgnk/Halide,rodrigob/Halide,aam/Halide,kenkuang1213/Halide,smxlong/Halide,delcypher/Halide,adasworks/Halide,tdenniston/Halide,tdenniston/Halide,aam/Halide,damienfir/Halide,ayanazmat/Halide,dan-tull/Halide,myrtleTree33/Halide,rodrigob/Halide,kenkuang1213/Halide,jiawen/Halide,aam/Halide,ronen/Halide,smxlong/Halide,ronen/Halide,damienfir/Halide,jiawen/Halide,ayanazmat/Halide,jiawen/Halide,kgnk/Halide,fengzhyuan/Halide,mcanthony/Halide,adasworks/Halide,dougkwan/Halide,adasworks/Halide,fengzhyuan/Halide,tdenniston/Halide,dan-tull/Halide,delcypher/Halide,kgnk/Halide,tdenniston/Halide,dougkwan/Halide,rodrigob/Halide,rodrigob/Halide,mcanthony/Halide,lglucin/Halide,kgnk/Halide,tdenniston/Halide,lglucin/Halide,aam/Halide,dougkwan/Halide,myrtleTree33/Halide,smxlong/Halide,smxlong/Halide,mcanthony/Halide,delcypher/Halide,kenkuang1213/Halide,adasworks/Halide,myrtleTree33/Halide,fengzhyuan/Halide,damienfir/Halide,myrtleTree33/Halide,adasworks/Halide,kenkuang1213/Halide