stats: fix crash due to pointer taken before validate
stats: fix crash due to pointer taken before validate

Type: fix
Change-Id: Iee9eab18da142bfe0645761deea13b0fe911a43b
Signed-off-by: Damjan Marion <9141bba8b2efed526e55cf796d48631af330ad98@cisco.com>

FDio/vpp,FDio/vpp,chrisy/vpp,chrisy/vpp,chrisy/vpp,chrisy/vpp,chrisy/vpp,chrisy/vpp,FDio/vpp,chrisy/vpp,FDio/vpp,FDio/vpp,chrisy/vpp,FDio/vpp,FDio/vpp,FDio/vpp