[MAT-180] Use reinterpret_cast for potentially-narrowing casts