Fixed NMT that miscounted arena memory when it is used as value or stack object. Reviewed-by: acorn, coleenp