Fix bug #55191 - Avoid a ClassCastException if a HPSF string property isn't directly stored as a string