fix sample not work in ios earlier 6.0

AVCaptureVideoPreviewLayer.Connection available since ios 6.0
proof:
http://developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVCaptureVideoPreviewLayer_Class/Reference/Reference.html
Before work with connection prop we should check if it available or not