codegen: Fix crash vapi properties with no get body but with set body

Fixes bug 657348.