Export private symbols with |:private => true|

This allows to distinguish between private and public exported symbols.
This can be used by Ruby bindings to don't export private symbols until
requested by setting the |Y2ALLGLOBAL| environment variable.