Don't attempt to update user tracked fields if database is in read-only
With Geo, attempting to view an endpoint with a user could result in an Error 500 since Devise attempts to update the last sign-in IP and other details.
Closes gitlab-org/gitlab-ee#4972