Add test for WriteAbortedException.getCause() am: 8f18e033b9

Original change: https://googleplex-android-review.googlesource.com/c/platform/libcore/+/18234480

Change-Id: I8a050de917be4ec34a3bc99db5a6c88daaff52b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>