cppcheck performance fixes in cores/ExternalPlayer/

Small one, again!
Agree, additionally these changes are scope changes not perf ones (per se). Please split them.