Revert "libgui: Add support to update buffer geometry."

This reverts commit af92c01e7a5a7ab85b63667b09707021447ed986.