visibility: add support for Oracle Developer Studio 12.6
While an -fvisibility
flag was added in the previous version, it
throws warnings indicating it would be ignored unless given to the
linker and fails to work properly.
Tested on Solaris SPARC 11.3, thanks to the gcc compiler farm.