Fix stack corruption in ezc_set_error_reporting() in ezc_test.cpp

Summary: Found a stack corruption bug while testing with ASAN. Fixed it.

Reviewed By: @markw65

Differential Revision: D1516723