(Glitch64) Prevent feeding bogus enum value for minfilter/magfilter to glTexParameteri