Check active state of opportunistic subscription before returning its port index.

It assumed that the the port index of inactive subscriptions is set to previously active port. This resulted in ONS returning port not available error.

Bug: 233683373
Test: atest ONSTests and manual verification
1. auto enable CBRS after changing location to CBRS coverage region.
2. Opportunistic eSIM is already active, try another opportunistic eSIM activation.

Depends on another CL for unit test fixes.

Change-Id: I0717fde41efe9575fa21b6b102c7dd462fb618da
Depends-On: I63854fb0c408315027e7e9e91db9cc8865eaae7a
2 files changed