Add compilation test for standalone inclusion of openjpeg.h (#798)