cppcheck performance fixes in cores/ExternalPlayer/

Small one, again!
don't change this, it was ok the way it was.