mach-o: fix signature encoding issue