[ROCm] Fixed error: call to 'min' is ambiguous
@i-chaochen From https://github.com/tensorflow/tensorflow/pull/61397#discussion_r1276540276, a proper fix is to change the line as `min(static_cast<unsigned int>(blockDim.y), static_cast<unsigned int>(num_rows - blockIdx.y * blockDim.y));`. Can you test it?
many build errors due to this ambiguous min() call.

@akuegel 

Thanks in advance