Cleanup.
Define `STRICT_TYPED_ITEMIDS` before including any shell headers for better type
safety of IDLists.
Run astyle.
Update MediaInfoLib to v0.7.66.
Fix: "Play > Subtitles" actions were off by one when playing a DVD and only external subtitles were available.

This commit fixes #3922.
Silence some C4267 warnings "possible loss of data".
Fix a possible dead lock when opening a file when one is already playing.

Easily reproducible with madVR.

Ticket #3865.