Control: tags -1 fixed-upstream While not 100% perfect, one can pull two patches from upstream: 4f793f6005c794de633d01e42e00d37f80340fac & 0511b1d6d356a1c5d1f4e22cd5bb862ef233a332 to have this issue fixed.
The behavior is not fantastic, but at least GDCM do compile against OPJ 2.1.0, and the change should be unnoticeable by most users.