libclient/Makefile: fix missing function export structures to libclient
hal/sm_io/modules/sm_io_codes.c: add NULL field terminator

We can iterate in this array by checking for a NULL field.