Fixed streaming issues in TGeoPatternSphPhi and TGeoStateInfo reported by Axel
(cherry picked from commit 3b8488632302c4226e21724336cef00e21e452dc)