gdal enable shared library and added ossim, openthreads, openjpeg

reopening pull request - https://github.com/mxe/mxe/pull/527. this pull request incorporates all comments and modifications of previous one. Initial was dirty and contains a lot of forcing into shared library. usage of `--enable-shared --disable static` instead of `MXE_CONFIGURE_OPTS`

Only issue is downgrading of qwt_qt4 to 5.0. This is because of OTB monteverdi2 which requires 5.x version. I will try to clean it up later.