Fix b-pyramid = normal with ref < 4

b-pyramid normal requires ref >= 4
current version of x264 default parameters: b-pyramid = normal ref = 3