Handle setting a readonly attribute on proxy reflectors correctly.
Merge pull request #2711 from Ms2ger/defineprop

Handle setting a readonly attribute on proxy reflectors correctly; r=jdm