common: Add TRACE macro for prefix based log dispatch

Change-Id: I52c49f61272270da16b15e1c06fb55dc12fe8f5f