Fix cargo2rulesmk.py handling of optional deps

Optional dependencies should not be included if their corresponding
features do not require them.

Bug: 281857510
Test: cargo2rulesmk.py for arrayvec with no features
Change-Id: Ie4640af8a1e1d3a2a07f35ee260a697dbfd3112e
1 file changed