loader: strings in nvlist are counted strings, not c-strings
The nvlist stream format has string data defined as <size><bytes..>, it may be padded by zeros to align by 4. This means, we can not use C string functions to handle string data from nvlist. To handle this, we need to get string length from nvlist_find() and use it to handle the data.
Testing done: build/install/boot