Update logic to add debug modules to art-runtime. am: 8f0887be86

Original change: https://android-review.googlesource.com/c/platform/art/+/1801127

Change-Id: Ia3592f155e073626f5ea4a27a9bc2346b163fca0