Revert "Allow compilations in TOCTOU tests to fail with GENERAL_FAILURE." am: 3dca799497

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1351585

Change-Id: Idadf04c6cb02f47b53798a98bbc1c0a02e3e1484