Fix image_test for new small mode API.
Fix image_test for new small mode API.

Portable build fix.

Change-Id: I89a9c6f6117ac60105a9540467d281bae3b70bdd

treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst