app: use xcf_write_int32_check_error() for all XCF property writing

Some (copy/paste I guess) places used xcf_write_int32() plus manual
error checking for no reason.