Slight improvement of resource unloading in FragmentedModelScope

Change-Id: Ib3eba6476a1e4ffaccaaad3574b2fbab973b9bee
Signed-off-by: Olivier Constant <olivier.constant@thalesgroup.com>