[qca-nss-drv] Sanity check the num_irq value passed in from DTS info

Prevents internel data structure being corrupted due to num_irq larger
than the array size.

Change-Id: Ie022261714897528237badec5be01251d581c858
Signed-off-by: Stephen Wang <wstephen@codeaurora.org>
4 files changed