stats: Missing check for attribute presence
stats: Missing check for attribute presence

Signed-off-by: Kapileshwar Singh <d373e2b6407ea84be359ce4a11e8631121819e79@arm.com>

ARM-software/trappy,joelagnel/trappy,ARM-software/trappy,bjackman/trappy,joelagnel/trappy,joelagnel/trappy,JaviMerino/trappy,JaviMerino/trappy,sinkap/trappy,joelagnel/trappy,sinkap/trappy,bjackman/trappy,ARM-software/trappy,JaviMerino/trappy,sinkap/trappy,bjackman/trappy,sinkap/trappy,bjackman/trappy,ARM-software/trappy