Fix check fail in crop_and_resize_op
The Op `CropAndResize` checkfails with an input where `boxes` and `box_ind` both are `1D` and `empty` tensors. This is due to missing validation for this particular case which skips the check of boxes for Rank-2.

The check skips from this line which checks for empty tensors but skips rank checking.

https://github.com/tensorflow/tensorflow/blob/7aac92419d6cb25c8dcd6e4bcfe2f234efaff168/tensorflow/core/kernels/image/crop_and_resize_op.cc#L62-L64

May Fix #65629