cairo, svg: ignore empty blocks

Fixes crash bug found with the afl fuzzer.

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
2 files changed