fixing save of transparency palette png-images

this time everything is correct. see: https://github.com/python-imaging/Pillow/pull/149#discussion-diff-3473481


Every other test (even the complicated screwed up images) finished just fine with the current master 2.0.0. Will test it again on 64bit linux in the next days.