changed nn_chunk_addref parameter n from type int to more consistent type uint32_t

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>