GDBStub: fix packet end not being sent for some exceptions
GDBStub: fix packet end not being sent for some exceptions

NextDevBoard/Arduino,wemos/Arduino,wemos/Arduino,martinayotte/ESP8266-Arduino,sticilface/Arduino,hallard/Arduino,esp8266/Arduino,me-no-dev/Arduino,jes/Arduino,Adam5Wu/Arduino,jes/Arduino,Juppit/Arduino,lrmoreno007/Arduino,NextDevBoard/Arduino,NextDevBoard/Arduino,lrmoreno007/Arduino,esp8266/Arduino,Adam5Wu/Arduino,hallard/Arduino,me-no-dev/Arduino,hallard/Arduino,toastedcode/esp8266-Arduino,martinayotte/ESP8266-Arduino,Links2004/Arduino,quertenmont/Arduino,gguuss/Arduino,lrmoreno007/Arduino,quertenmont/Arduino,toastedcode/esp8266-Arduino,Links2004/Arduino,NullMedia/Arduino,sticilface/Arduino,lrmoreno007/Arduino,quertenmont/Arduino,Juppit/Arduino,KaloNK/Arduino,toastedcode/esp8266-Arduino,NextDevBoard/Arduino,martinayotte/ESP8266-Arduino,gguuss/Arduino,lrmoreno007/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,KaloNK/Arduino,gguuss/Arduino,me-no-dev/Arduino,esp8266/Arduino,sticilface/Arduino,toastedcode/esp8266-Arduino,NullMedia/Arduino,KaloNK/Arduino,Juppit/Arduino,wemos/Arduino,hallard/Arduino,Adam5Wu/Arduino,me-no-dev/Arduino,jes/Arduino,sticilface/Arduino,Juppit/Arduino,wemos/Arduino,NextDevBoard/Arduino,KaloNK/Arduino,Lan-Hekary/Arduino,jes/Arduino,jes/Arduino,NullMedia/Arduino,Juppit/Arduino,esp8266/Arduino,martinayotte/ESP8266-Arduino,KaloNK/Arduino,Links2004/Arduino,quertenmont/Arduino,quertenmont/Arduino,Links2004/Arduino,gguuss/Arduino,Lan-Hekary/Arduino,sticilface/Arduino,gguuss/Arduino,Links2004/Arduino,NullMedia/Arduino,wemos/Arduino,me-no-dev/Arduino,toastedcode/esp8266-Arduino,martinayotte/ESP8266-Arduino,Adam5Wu/Arduino,hallard/Arduino,NullMedia/Arduino,Adam5Wu/Arduino,esp8266/Arduino,Lan-Hekary/Arduino