On asymptotic distribution of maxima of stationary sequences subject to random failure or censoring