newbuild: bv: fix small issues discovered by static analyzers
newbuild: make memzero generic for amr and opus
newbuild: bv: fix coding style