Fix checkfail of tf.raw_ops.AvgPool with negative kernel size in Debug builds
Hi @SuryanarayanaY Can you please check @mihaimaruseac's comments ? Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. Hi @SuryanarayanaY Any update on this PR? Please. Thank you! Hi @SuryanarayanaY Any update on this PR? Please. Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further.
Currently shape inference step of `tf.raw_ops.AvgPool` allows negative kernel size.But in debug build it aborts with checkfail as there is DCHECK which works only in debug build. Replaced DCHECK with general conditional check.

Ref issue #63034