Fix value returned by smack_label_length() and use this function internally.