Add log.wtf if ENOTSUPP occurs when attaching DHCP filter.

To catch the ENOTSUPP errno from attachDhcpFilter jni API in user space,
update the signature of attachDhcpFilter by throwing an ErrnoException
instead of SocketException from native code. Log the failure if the
errno value is 524(ENOTSUPP), it's useful to see how often this issue
occurs in the field.

Bug: 240913812
Test: atest NetworkStackTests
Test: launch CF device and verify if it can boot normally, wifi
      can work normally
Change-Id: I90acdaf6705c53c80776d6bc97ca2739f32720db
3 files changed