x11 backend: cleanup SHM part

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>