Update bstrlib_unixcracker.c

Determined that bassignmidstr() would work to replace strlen. Valgrind reported no memory leaks and I haven't noticed any bugs, so this seems finished.