webnn: Enforce input data type constraints for prelu
As specified in webmachinelearning/webnn#646.
Besides, this CL also fixes the throwing TypeError and migrates the unit
tests to WPT for prelu.
Bug: 328567884, 327337526, 328026885
Change-Id: I2c6c0097b8d4fdc8c92bd66d21abd2cbda91e030
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5495874
Reviewed-by: Austin Sullivan asully@chromium.org
Reviewed-by: ningxin hu ningxin.hu@intel.com
Commit-Queue: Lisha Guo lisha.guo@intel.com
Cr-Commit-Position: refs/heads/main@{#1297344}