Handle cleared preresolved strings

The profile saver can theoretically result in the preresolved strings
being cleared before they are updated. Since the clearing process
nulls the array, it was causing a null pointer dereference in some
cases.

Bug: 134698657
Test: test-art-host
Change-Id: I9c260bbfded26e9481381e9978596907e48c3307
1 file changed