comctl32: Make ImageList_Read and ImageList_Write compatible with each other, simplif...