core/msg: revert part of #1285

undoes an optimization introduced by #1285
You have to move the line `m->sender_pid = sched_active_pid;`, too. I overlooked that msg_send_to_self() does not set this member.
Alternatively, and maybe better, fix the other function, and not this one.