hdsenc: Clear the previous codec tag when setting up the chained muxer