stats-test: Disable if error reporting is turned off

Disable stats-test on builds where storage error reporting
is off, e.g., generic-x86_64.

Bug: 304585390
Test: build.py generic-x86_64-test
Change-Id: I2dd930aa299847899dd779200a70e42366b47db8
1 file changed