Allow building with more recent glm versions

Use glm::scale(glm::vec3(x, y, z)) instead of glm::scale(x, y, z)

Cherry-pick of: 7da3ce7cdb05bcced9ba61724e33d7a395e44e10

Change-Id: Ib9ad6b57cb6b74c8c43c9f6b48f312bfc499ffbe
Reviewed-on: https://gerrit.libreoffice.org/9808
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>