vo_xv: fix compilation when shared memory header files are not available

This is an extremely obscure situation, but can actually happen
on OpenBSD.