Fix bounds check in ipp

In ippReadIO, there is a check to ensure that the buffer contains at
least 1 byte. However, when ipp->state is set to IPP_STATE_ATTRIBUTE, 4
bytes will be read.

Test: Manual PoC from bug
Test: `atest android.print.cts` - "all" selected in resulting menu

Bug: 141551144

Change-Id: Ib3d4260899941f0c8050cf6d77a9022db63bdc66
2 files changed