CAM: Correct Fanuc post processor to work properly.
Fixes crash problem, milling, drilling, tool changes, thread tapping and get the post processor working as it should.
This patch is tested on a Fanuc controller and sent upstream as <URL: https://github.com/FreeCAD/FreeCAD/pull/27960 >. I hope and expect the fix will be included in FreeCAD 1.1.
Closes: #1117850