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

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

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