Issue 13006 - Allow inout return type without inout parameters

https://issues.dlang.org/show_bug.cgi?id=13006