Fix race in persistent storage loading of segments

If an object of a segment being in the process of loading was
requested, this triggered an assert on the SMP_SEG_LOADED
flag being false.

Change-Id: Iab0fd3b13fca159a1ec2490aa5f9ad0f1d2bbfcf