Use vec! macro instead of iterator to initialise buffer …
The vec! macro is much faster than using `collect` to initialise a vector. This change decreases the run time of `load_png_from_memory` by 20%-30% on my machine.