SubPicQueue: Use intsafe.h instead of hardcoded maximum values.

Also use just -1 instead of difficult to read hex values.
SubQueue: Print debug messages to the console.
SubPicQueue: Allow display of subpics past the end of their segment.

This fixes blinking subtitles by only removing subtitles that have ended when we have already buffered the next one.