This change migrates users of APIs removed in NumPy 2.0 to their recommended replacements (https://numpy.org/devdocs/numpy_2_0_migration_guide.html). Bug: None Change-Id: I5c275ed3f39863d42b5c34df0723933f7a8b94a0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358020 Reviewed-by: Lionel Koenig <lionelk@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42684}