Update "allow_degenerate" flag to take a list of HAL instance names.

This enables more targeted carveouts when testing CSRs, since on
some devices only certain IRemotelyProvisionedComponents are
expected to produce degenerate DICE chains.

Bug: 323246910
Test: m rkp_factory_extraction_tool
Test: Executed the tool on a Pixel 8 Pro, which produces
degenerate DICE chains from its StrongBox instance of
IRemotelyProvisionedComponent. Checked that the tool passes
when "strongbox" is specified in the "allow_denegerate"
flag value and fails otherwise. Also checked that invalid
component names trigger the warning message.

Change-Id: I7fc8ac958b4e77610c1741be23d9a9ed5a4372fd
2 files changed