HarmonyJSSE: convert byte correctly in padding check

This gives a better error message since the byte could be negative
without the mask.

Change-Id: Ifbba9fdf647b7ecf8bc300fb1034011ba8357401