scanner: use zxalloc
scanner: use zxalloc

Use xzalloc instead of xmalloc. This allows us to get rid
of manual initializing the memory to 0s and the code is
shorter and cleaner

Suggested by Bryce Harrington

Signed-off-by: Marek Chalupa <a05df156a69ad59faa9af9b666ef78009594c145@gmail.com>
Reviewed-by: Bryce Harrington <bdb14cfc1ab8d24e13de84adc40b41ae60c13bd1@osg.samsung.com>

tulcod/wayland,mchalupa/wayland,abooij/wayland,mchalupa/wayland,tulcod/wayland,mchalupa/wayland,bitfactor/wayland,abooij/wayland,bitfactor/wayland,sir-murray/wayland,bitfactor/wayland,abooij/wayland,tulcod/wayland,sir-murray/wayland,sir-murray/wayland