libwinpr-utils: centralize bitmap utils