pkg macOS: remove openjpeg from build scripts
(cherry picked from commit c6ab4e239f077bd0fb1132df47dddd81752d093b)