[Support] Simplify Triple::getOSVersion