Fixing conversion double to uint8_t conversion warning in test

This warning comes from gcc 4.1 on RHEL5.

Change-Id: I60621eb46196c3e5618ac29df5c0e3ffbc4b16ed
Merge topic 'FixImageTestsConversionWarnings'

c8bf02ea Fixing conversion double to uint8_t conversion warning in test