Allow undefined for lineNumber in (maybe)LinkifyScriptLocation
Allow undefined for lineNumber in (maybe)LinkifyScriptLocation

The two functions (maybe)LinkifyScriptLocation may delegate to
linkifyURL, which accepts undefined as lineNumber and produces
a link without line number information. Recently, we discovered
callers that provide undefined intentionally to get a link to a
file without line numbers. This change changes the types to
reflect this behavior.

Bug: chromium:1011811, chromium:1135143
Change-Id: I012b04ecddf061c9b972b5dec6b06e578d4bb25c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2466184
Reviewed-by: Simon Zünd <38944668e9e2ca98ccd0275b53370f90fa55c113@chromium.org>
Commit-Queue: Sigurd Schneider <f04d242e109628a27a0f75fd49a87722bcf291fd@chromium.org>

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