spgw image updat to fix memory issues

timer memory leak fix merge from aether1.5 branch and
memory corruption due to 2 byte extra write in allocated buffer

Change-Id: Ie7def3305b4e5edc41c8c1366006c502d41b177f
2 files changed