Fix NULL check in wslay_frame_context_init.

ctx == NULL is always false, as if it is true the line before would result in an segmentation fault.