cmake: publish $PKGDATADIR

BUG: 323197
cmake: port the zlib detection to cmake's configure_file
GUI: Message list: add placeholder text for empty subjects

REVIEW: 11904
Merge branch 'bug-323197'

REVIEW: 111896