libsmack: fix potential null pointer dereference

Check input pointer parameter of smack_new_label_from* functions

Signed-off-by: Jan Cybulski <j.cybulski@samsung.com>