writerfilter: try to fix 32-bit builds

Change-Id: I7fb61144d8ff263e97de8cb7088b9eefdaafe52f