cppcheck performance fixes in cores/paplayer

Again, another small fix!
Yes, and a few lines down an empty string is assigned, so it's a valid change.