Validate @Message.ExtendedInfo in GenericRedfishParser

Verify the Redfish response is a JSON object and @Message.ExtendedInfo is
a non-empty JSON array before indexing element 0 (preserving the error
log when size != 1). Enable the corresponding unit tests in
register_actions_bmc_test.cc.

PiperOrigin-RevId: 1024809079
Change-Id: Ia50d6531bf17b524ebf33f1a2fd51b408bc08f64
3 files changed