Fix standalone filters compilation after 58df3305748f32017f7d72bda69388e13afbc9cd.
Fix possible freeze during DVD playback on XP after
f2b6ade8e8185fdc5908ed88df31e68a106786a9

Refs #4299
CSubPicQueueNoThread: Respect invalidation time.
Do not clear surface cache when max texture size has not been changed.

We were removing valid surfaces from the cache for PGS/DVB subtitles.
Basically surface cache was broken.
SubPic queue: Clear queue only when it's needed.

Time can decrease even within the same video frame and
it make no sense to purge whole queue, if we still can reuse buffered
subpic.
Don't add "Copy to clipboard" item if filters menu is empty.