Add padding to allocated image data.
This prevents undefined reads at the end of the memory blocks if SSE optimizations are used which use 8 bytes per iteration and thus could overrun the memory.
Merge pull request #54 from fancycode/image_memory_padding

Add padding to allocated image data.