check for memory allocation error in copy_image
add comment about how image-copying would be more efficient
Added function to get default image allocator.
Merge pull request #66 from fancycode/default_allocators

Added function to get default image allocator.
added alternative SAO that requires less memory
Merge branch 'master' of https://github.com/strukturag/libde265