Fixed loop condition in bone mapping
Corrected the for-loop condition in the auto_mapping_process function. Previously, it was checking if children.size() is non-zero, which resulted in an infinite loop
(cherry picked from commit 15f1a0fba3c8e576f83427b686ee49291d4e4eff)