Load DDS from memory

Just a quick addition to allow the usage of custom istreams and ofcourse loading from a regular buffer.