[Encoder ME] add memory allocation for feature search

reviewed at https://rbcommons.com/s/OpenH264/r/296/