engine : Fix for coverity issues introduced in SizeConverter

Fixed warnings due to boxing and then immediately unboxing a primitive
in sizeconverter.

Change-Id: I570e4e69ea6229346c1d20e8f917994c6875eb49
Signed-off-by: Anmol Babu <anbabu@redhat.com>