[MAT-180] Reinsert remaining reintepret_casts