Merge "libui: log an error on allocation failure" into oc-dev