hwc: Do not snprintf in trace unless needed

Change-Id: Id243e7f952272dbc8459dcfe6b33bed72ae6c221
CRs-Fixed: 1049322
1 file changed