Abstraction we use in order to allocate memory for bitmaps in different OS versions. It also contains implementation of the Releaser which is responsible to close the specific CloseableReference when not used anymore.