mpegps: Handle buffer exhaustion when reading packets.