[pmc] some tiny WB optimizations in scalar.assign_pmc

no measurable impact in the benchmarks