codec/nsc: initialize elements with NULL

bmpdata and plane_buf[i] are checked agains NULL before using/freeing them
but they were not initialized to NULL. This caused segfaults in
the sample server.
Merge pull request #921 from bmiklautz/nsc_mem

codec/nsc: initialize elements with NULL