Fix build with libcxx22

See https://github.com/FreeCAD/FreeCAD/pull/28985

Index: src/Mod/TechDraw/Gui/CommandExtensionDims.cpp
--- src/Mod/TechDraw/Gui/CommandExtensionDims.cpp.orig
+++ src/Mod/TechDraw/Gui/CommandExtensionDims.cpp
@@ -1984,7 +1984,7 @@ void execCreateHorizChamferDimension(Gui::Command* cmd
         dim->Y.setValue(-yMax);
         float dx = allVertexes[0].point.x - allVertexes[1].point.x;
         float dy = allVertexes[0].point.y - allVertexes[1].point.y;
-        float alpha = std::round(Base::toDegrees(std::abs<float>(std::atan(dy / dx))));
+        float alpha = std::round(Base::toDegrees(std::abs(std::atan(dy / dx))));
         std::string sAlpha = std::to_string((int)alpha);
         std::string formatSpec = dim->FormatSpec.getStrValue();
         formatSpec = formatSpec + " x" + sAlpha + "°";
@@ -2050,7 +2050,7 @@ void execCreateVertChamferDimension(Gui::Command* cmd)
         dim->Y.setValue(-mid.y);
         float dx = allVertexes[0].point.x - allVertexes[1].point.x;
         float dy = allVertexes[0].point.y - allVertexes[1].point.y;
-        float alpha = std::round(Base::toDegrees(std::abs<float>(std::atan(dx / dy))));
+        float alpha = std::round(Base::toDegrees(std::abs(std::atan(dx / dy))));
         std::string sAlpha = std::to_string((int)alpha);
         std::string formatSpec = dim->FormatSpec.getStrValue();
         formatSpec = formatSpec + " x" + sAlpha + "°";
