Your second screenshot does not show a script tag, it shows a preload for a script. You cannot use the Next.js <Script> component to load App Bridge, as that component is specifically designed to prevent synchronous scripts (which is what App Bridge is).
I believe you could work around it using the following code in place of <Script>: