fix CCScale9Sprite for rotated sprite frame

fix Issue #1145
Merge pull request #3068 from smilingpoplar/patch-1

fix CCScale9Sprite for rotated sprite frame