Use Class::XSAccessor, if available, for rw accessors.

Class::XSAccessor doesn't support ro accessors that I can tell.
Use Class::XSAccessor for read-only accessors.

Peeked at the Moo implementation.

Shame about the error message, but it's hard coded in CXSA.