avcodec/j2kenc: Support user specified tile dimensions