[gvencode] Fix crash on non-even framesize.
[sdk] Fix buffer leaks when used with non-RGB format.
[doc] Fix metrics documentation.