better use OUString::endsWithIgnoreAsciiCase()

Change-Id: Ieedb71e58b1a690a38fcc93c56ea49483c224278