COMPMID-1552: support kernels sizes 1x7, 7x1, 1x5, 5x1 in NEWinograd

Refactored the validate method to make it easier to maintain in the future when
adding support for new kernels sizes

Change-Id: I12d9fe7af15ceb0e655cef61ca94407558fb29e8
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/146713
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
9 files changed