[buffer] remove deprecated malloc.h include
[sjis] remove deprecated malloc include