Introduce CheckStatusAndParamCount
Introduce CheckStatusAndParamCount

Introduces a helper function CheckStatusAndParamCount that
checks the return status of a host call and the expected
number of parameters to be received on the output MessageReader.

PiperOrigin-RevId: 274453584
Change-Id: I1dd9607c97fb839bf85f94e915ab28d825ffbe3f

google/asylo,google/asylo,google/asylo,google/asylo,google/asylo,google/asylo