Ab initio calculation of charge symmetry breaking in $A=7$ and $8$ $\Lambda$-hypernuclei