h264: use the correct SPS during PPS parsing