cppcheck performance fixes in cores/ExternalPlayer/

Small one, again!