xhprof: Guard against division by 0 when computing percentages

Change-Id: Icce3b5be1136c541dc87c44b01a42709f19ca885
Merge "xhprof: Guard against division by 0 when computing percentages"