add max payload setting in gmp wrapper

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