Only export eog symbols from the private shared library

As eog doesn't install headers for the Egg and JPEG parts these don't
need to be exported.