Fixed int fallback

Closes https://github.com/PistonDevelopers/rust-image/issues/47