make memset easier to read
instead of manually calculating the size, just use sizeof on the members.
they are arrays, so the compiler can do the work for us.
Reviewers: sitter, vonreth
Reviewed By: sitter
Differential Revision: https://phabricator.kde.org/D9447
Diff By: Aleksey Nikolaev