core: Removed a shadowed, unused definition of `debug_assert!`.
Merge pull request #20191 from lifthrasiir/double-debug_assert

core: Removed a shadowed, unused definition of `debug_assert!`.

Reviewed-by: cmr