A bio-inspired technique to mitigate catastrophic forgetting in binarized neural networks