Vanishing coefficients in several $q$-series expansions related to the Rogers--Ramanujan continued fraction