Python mapscript : fix setting pattern on mapscript.styleObj (#4943)