Fix coredump on NULL EDID

Signed-off-by: Alexey Galakhov <agalakhov@gmail.com>