Allows to perform a to upper operation, like axl_stream_to_upper, but returning an new allocated reference.