Create a chain and a pg for a sg if not found.

This works around the problem when sg handler
missed the event of handling creation of a SG.

NOTE that the same problem may occur for sg rule
handling.

Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>