EMI: Fix compiler warnings for specialty texture ID.
Merge pull request #970 from JoseJX/FixUnsignedIntegerComparison

EMI: Fix compiler warnings for specialty texture ID.