[boost] [PATCH v2] [exception] Replace C cast with static_cast for Metrowerks C++