j2kdec: make curtilenum integer.