[test][buffer] remove used local typedef

Remove local typedef, producing an unused-local-typedef warning with g++ 4.8