muxer: Fix the condition of creating reference chapter track.