Fix chakcfail of ResourceApplyProximalAdagrad Op
The Op `ResourceApplyProximalAdagrad` can lead to checkfail if the inputs `lr`, `l1`, `l2` and `grad` don't passed with same dtype. Proposed validation for same.

Fixes #63697 .
