Erasure Correction for Graph Codes as a Problem of Bootstrap Percolation