Fixed borrow mutable bug

Closes https://github.com/PistonDevelopers/rust-image/issues/27
Merge pull request #28 from bvssvni/master

Fixed borrow mutable bug