nitc: fix error in constructor inheritance

Reported-by: Christopher Robert <osiris57@gmail.com>
Signed-off-by: Jean Privat <jean@pryen.org>
tests: add base_init_inherit6.nit

Signed-off-by: Jean Privat <jean@pryen.org>