imageoverlay: Change comparison type for the structure fields

Change-Id: I37750f7725b6baf38ffcd0a928b6ee97a1d262cd