Speedup FileItem::IsSamePath

IsSamePath has been found to be expensive if PR 4301 is applied and
used, where a large number of updates a second may occur.

By switching IsMusicDB and IsVideoDB to use the URIUtils versions. A
simple string compare is used, rather than an expensive URL parser
to check the protocol.
If available use videoInfoTags in IsSamePath

If VideoInfoTags are available, then comparing the DBId and the Type is
good enough for testing two items are the same path.

Benchmarking shows that this change reduces the time to compare 340 movies
from 10ms to <1ms.
Merge pull request #4345 from cg110/OptimizeIsSamePath

Speedup FileItem::IsSamePath