File Upload into a repo from the GUI doesn't abide by the repo `max file size` settings
### Summary
When using the 'Upload file' dialog from within the GitLab gui (Overview > Details), the max file size is based on the admin > settings > 'max attachment size' instead of the project settings > repository > 'max file size'. Pushing file from git console works as expected and is NOT limited by the max attachment size setting.
### Steps to reproduce
Set project settings > repository > 'max file size' to 0
Set admin area > settings > 'max attachment size' to 10
From an existing or new project, click on the '+' dropdown menu and select 'Upload file'
Select or drag/drop a file that is larger than your 'max attachment size' and an error will pop up `Error uploading file: "File is too big (11.32MiB). Max filesize: 10MiB."`
### Example Project
https://gitlab.com/drumrigj/file-upload-bug
### What is the current *bug* behavior?
File size is limited by the `max attachment setting`
### What is the expected *correct* behavior?
File size should be controlled by the repository `max file size` setting
### Relevant logs and/or screenshots

### Output of checks
This bug happens on GitLab.com, also happens in our EE 10.4.4
issue