GCC LTO fix: mark functions used by vo_sharedbuffer as externally visible

This is needed to be able to build with -fwhole-program.