Allows DarwiNN NNAPI HAL to log traces to perfetto only under userdebug builds. This is similar to the camera HAL fix in ag/17080874
Error message:
TracingMuxer: type=1400 audit(0.0:486): avc: denied { write } for name="traced_producer" dev="tmpfs" ino=1116 scontext=u:r:hal_neuralnetworks_darwinn:s0
This rule is common for EdgeTPU in both WHI and PRO.
Bug: 231838536
Test: tested on PRO before and after the change, and the traces now shows up.
Example: https://ui.perfetto.dev/#!/?s=ab911b3972bc16a1a831e148a7446c09757a08426bbe3c3b16d31a728b1d923https://screenshot.googleplex.com/3roWETkTFyiDjW9
Change-Id: I8d4a57e262087aa4ec6670a487d7b06d2f2cde69