fix bug to found padMinX and padMaxX in rectangular pads
Created by: andres53016
fix this issue https://github.com/KiCad/kicad-library-utils/issues/11
Edited by Joel Guittet
Created by: andres53016
fix this issue https://github.com/KiCad/kicad-library-utils/issues/11