generateYCPWrappers: check also for YCPNull to avoid segfault

when a parameter is missing (bnc#846467)

- 3.0.3