gmp: update to 5.1.2.