(Glide2GL) Replace reinterpret_casts with C-style casts