wifi_statistics: Adjust allocation error return

Signed-off-by: Jonathan Bither <jonbither@gmail.com>