Make resolver read-only as setting it after creation doesn't work

See [rt.cpan.org #97906].