[NAN] Use NAN capability information to validate configurations [DO NOT MERGE]

Validate publish and subscribe configurations and message length using
the NAN configuration retrieved from the firmware.

Bug: 31912101
Test: unit tests
Change-Id: I06e09a0a4459eadb700a688a8bbb5b63f4f85616
3 files changed