Don't make Object.defineProperty with get/set into readonly.

Only data properties can have the writable flag, accessor properties
can't.

Fixes #444