cc3200/mpthreadport: Move mem alloc outside the thread_mutex lock.
cc3200/mpthreadport: Move mem alloc outside the thread_mutex lock.

Otherwise there could be a deadlock, with the GC's mutex and
thread_mutex.

ryannathans/micropython,swegener/micropython,jmarcelino/pycom-micropython,adafruit/circuitpython,HenrikSolver/micropython,tuc-osg/micropython,pramasoul/micropython,tralamazza/micropython,Timmenem/micropython,bvernoux/micropython,puuu/micropython,torwag/micropython,swegener/micropython,dmazzella/micropython,chrisdearman/micropython,kerneltask/micropython,pozetroninc/micropython,lowRISC/micropython,pramasoul/micropython,dxxb/micropython,oopy/micropython,dxxb/micropython,mhoffma/micropython,adafruit/circuitpython,puuu/micropython,Peetz0r/micropython-esp32,MrSurly/micropython,turbinenreiter/micropython,henriknelson/micropython,micropython/micropython-esp32,pfalcon/micropython,mhoffma/micropython,TDAbboud/micropython,ryannathans/micropython,swegener/micropython,pozetroninc/micropython,adafruit/micropython,adafruit/micropython,turbinenreiter/micropython,alex-march/micropython,dxxb/micropython,oopy/micropython,chrisdearman/micropython,Peetz0r/micropython-esp32,alex-robbins/micropython,dxxb/micropython,SHA2017-badge/micropython-esp32,ryannathans/micropython,trezor/micropython,trezor/micropython,trezor/micropython,blazewicz/micropython,AriZuu/micropython,SHA2017-badge/micropython-esp32,tuc-osg/micropython,swegener/micropython,kerneltask/micropython,HenrikSolver/micropython,kerneltask/micropython,torwag/micropython,selste/micropython,mhoffma/micropython,alex-march/micropython,lowRISC/micropython,deshipu/micropython,henriknelson/micropython,kerneltask/micropython,toolmacher/micropython,MrSurly/micropython,turbinenreiter/micropython,torwag/micropython,AriZuu/micropython,hiway/micropython,jmarcelino/pycom-micropython,MrSurly/micropython-esp32,cwyark/micropython,tralamazza/micropython,SHA2017-badge/micropython-esp32,Peetz0r/micropython-esp32,toolmacher/micropython,hosaka/micropython,blazewicz/micropython,TDAbboud/micropython,oopy/micropython,emfcamp/micropython,pozetroninc/micropython,toolmacher/micropython,chrisdearman/micropython,redbear/micropython,mhoffma/micropython,tobbad/micropython,henriknelson/micropython,TDAbboud/micropython,HenrikSolver/micropython,puuu/micropython,HenrikSolver/micropython,tralamazza/micropython,pramasoul/micropython,matthewelse/micropython,mhoffma/micropython,pfalcon/micropython,AriZuu/micropython,adafruit/circuitpython,toolmacher/micropython,adafruit/micropython,TDAbboud/micropython,pramasoul/micropython,hiway/micropython,cwyark/micropython,infinnovation/micropython,henriknelson/micropython,redbear/micropython,adafruit/micropython,selste/micropython,MrSurly/micropython-esp32,hosaka/micropython,tuc-osg/micropython,emfcamp/micropython,bvernoux/micropython,PappaPeppar/micropython,cwyark/micropython,emfcamp/micropython,jmarcelino/pycom-micropython,pfalcon/micropython,PappaPeppar/micropython,alex-robbins/micropython,alex-march/micropython,puuu/micropython,AriZuu/micropython,swegener/micropython,cwyark/micropython,blazewicz/micropython,puuu/micropython,redbear/micropython,matthewelse/micropython,Peetz0r/micropython-esp32,selste/micropython,PappaPeppar/micropython,MrSurly/micropython-esp32,hosaka/micropython,Timmenem/micropython,infinnovation/micropython,lowRISC/micropython,alex-march/micropython,deshipu/micropython,selste/micropython,dmazzella/micropython,lowRISC/micropython,toolmacher/micropython,pramasoul/micropython,selste/micropython,blazewicz/micropython,micropython/micropython-esp32,trezor/micropython,alex-march/micropython,alex-robbins/micropython,hosaka/micropython,Timmenem/micropython,adafruit/circuitpython,ganshun666/micropython,MrSurly/micropython-esp32,dmazzella/micropython,ganshun666/micropython,tuc-osg/micropython,ganshun666/micropython,bvernoux/micropython,jmarcelino/pycom-micropython,PappaPeppar/micropython,infinnovation/micropython,tralamazza/micropython,redbear/micropython,alex-robbins/micropython,oopy/micropython,matthewelse/micropython,bvernoux/micropython,kerneltask/micropython,tobbad/micropython,hiway/micropython,adafruit/micropython,deshipu/micropython,pozetroninc/micropython,chrisdearman/micropython,MrSurly/micropython,torwag/micropython,oopy/micropython,SHA2017-badge/micropython-esp32,ganshun666/micropython,adafruit/circuitpython,pfalcon/micropython,matthewelse/micropython,hiway/micropython,deshipu/micropython,ganshun666/micropython,tobbad/micropython,MrSurly/micropython,micropython/micropython-esp32,HenrikSolver/micropython,dmazzella/micropython,ryannathans/micropython,AriZuu/micropython,redbear/micropython,trezor/micropython,PappaPeppar/micropython,Peetz0r/micropython-esp32,lowRISC/micropython,dxxb/micropython,deshipu/micropython,micropython/micropython-esp32,matthewelse/micropython,ryannathans/micropython,tobbad/micropython,Timmenem/micropython,SHA2017-badge/micropython-esp32,pfalcon/micropython,adafruit/circuitpython,hiway/micropython,cwyark/micropython,MrSurly/micropython-esp32,jmarcelino/pycom-micropython,emfcamp/micropython,bvernoux/micropython,MrSurly/micropython,micropython/micropython-esp32,turbinenreiter/micropython,infinnovation/micropython,turbinenreiter/micropython,pozetroninc/micropython,chrisdearman/micropython,tobbad/micropython,hosaka/micropython,Timmenem/micropython,infinnovation/micropython,tuc-osg/micropython,torwag/micropython,alex-robbins/micropython,blazewicz/micropython,emfcamp/micropython,matthewelse/micropython,henriknelson/micropython,TDAbboud/micropython