qt: make URI scheme comparison case insensitive

Fixes ancient issue #1460.