cppcheck performance fixes in cores/ExternalPlayer/

Small one, again!
Alright, so I guess we can close this PR all together.