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

Change-Id: I5440bd0a35b0629f637b364b504b29069fe3c146