[trunk] removed warnings when building jp2.c (Update issue 442)