Self-supervised pretraining and quantization for fault tolerant neural networks: friend or foe?