[cleanup] Simplify `DebuggerModel.createRawLocationsByStackTrace`.
[cleanup] Simplify `DebuggerModel.createRawLocationsByStackTrace`.

Remove unnecessary temporary array and loop from above mentioned method
and also remove unnecessary conditions, to make it easier to understand
exactly what this method is doing (and producing) - and as a nice side
effect also reduce it's overhead.

Bug: chromium:1270248
Change-Id: I662508554d1aeb5b3e08161e909629496d55a35c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3284815
Auto-Submit: Benedikt Meurer <024a1e0af501338d11c3b837c6193d11c140d792@chromium.org>
Commit-Queue: Kim-Anh Tran <a72f38a79b5fac6811022b8a7fb84830d856c9c9@chromium.org>
Reviewed-by: Kim-Anh Tran <a72f38a79b5fac6811022b8a7fb84830d856c9c9@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend