test/gradebook: Heap allocate and init label buffer

Valgrind gets picky with uninitialized addressable memory.
Replace malloc's with calloc's

To appease Valgrind and its picky behaviors when it comes to
addressable memory