Fixed bug in addon restart

git-svn-id: http://svn.code.sf.net/p/gpac/code/trunk/gpac@5522 63c20433-aa62-49bd-875c-5a186b69a8fb