Tracking ASM 5.0.4 development: Fix for ASM issue 317545

Issue: SPR-12470
(cherry picked from commit ab5856b)
NotReadablePropertyException accepts root cause (analogous to NotWritablePropertyException)

Issue: SPR-12467
(cherry picked from commit feb91e8)