Add direction support for SMPTE subtitles; fix pragma warnings with non-openmp builds.