Allow compilations in TOCTOU tests to fail with GENERAL_FAILURE. am: 0b617ae022

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

Change-Id: I2b8d60a749f39823cb8daa2735dd8e4f6c7cfd2f