fix coverity issues 26973, 26974, 26975, 26976, 26972, 26980.

Fix Coverity Issues:  26973, 26974, 26975, 26976, 26972, 26980.

review: https://rbcommons.com/s/OpenH264/r/56/