IVGCVSW-4553 Fix Wrapper Object Use after free in UnitTests.hpp
IVGCVSW-4553 Fix Wrapper Object Use after free in UnitTests.hpp

Signed-off-by: Finn Williams <51681b3f0284746ec141d38e636b0ad910c04d7c@arm.com>
Change-Id: I174f83c9a454b5499f817baf0bddcd4a49cac523

ARM-software/armnn,ARM-software/armnn,ARM-software/armnn