libsmb: Ensure smbc_urlencode() can't overwrite passed in buffer.