configure.ac: Avoid a rare warning

On some systems, Clang emits a warning that getters should not be used
for their side effects. However, this is only on systems on which
properties are broken anyway. But it does not hurt to fix this.