gdi32: Add a helper function to initialize DIB info from a bitmap object.