hevc: fixing slice header when dealing with IDR_N_LP