remove redundant protect code

Review:
https://rbcommons.com/s/OpenH264/r/293