hls: Detect and filter out bad PTS timestamps

Fixes #2159