ENH: core: add hack enabling unpickling Py2 pickled scalars on Py3 under encoding='latin1'

There is a similar dirty hack in place for arrays, but scalar unpickling was not covered.

Should provide a workaround for gh-4879