Fixes #49162 When user configures the `basePath` in `next.config.js`, we need to apply it to metadata image path resolving fix NEXT-1087