modify SPS, PPS buffer management and remove a build warning

according to standard.
Detailed description and review request can be seen via:
https://rbcommons.com/s/OpenH264/r/127/