Add a null pointer check to the VcnConfig

Add a null pointer check before accessing the VcnConfig to
retrieve the restricted transport types.

Bug: 284381334
Test: atest CtsVcnTestCases, FrameworksVcnTestCases
Change-Id: I0cbab6e38f68d8c669db2ddb324b013baa93204a
1 file changed