jpeg2000: Use separate fields for int and float codepaths