Refactored ApfGenerator to support multiple immediates per instruction.

In APFv4, an instruction can only have at most one immediate. However,
this is not true in APFv6. As a result, the ApfGenerator code needed to
be refactored to support multiple immediates per instruction.

Bug: 293811969
Test: TH
Change-Id: I0ef2d233f10396daa4f29f1a8a2137d13a6e621d
1 file changed