using `#joins` does not imply `readonly = true`.

Fixes #10615

Before this patch using `#joins` resulted in a `readonly` result. However the executed query only selects the columns from the primary table. For example:

```ruby
Author.joins(:posts) # SELECT authors.* FROM ...
```

As far as I can tell there is no reason we need to mark these records as `readonly`.