Fix segfault when trying to set a read-only field on player_t
A miss on player_t (and ticcmd_t, but I can't seem to find a case where this is an issue) where setting a read-only field triggers a segfault due to it accidentally passing an integer to a string field.
Fixes #1041 (closed)