Added function to get default image allocator.

Will be useful as fallback in custom allocators.