Label::getStringNumLines returns 0 instead of -1 when containing an empty string

It used to be -1, now it's 0 when containing an empty string. It only returns -1 when string is nullptr.