ecl: use brewed gmp

Fixes #27929
Closes #28238

Signed-off-by: Adam Vandenberg <flangy@gmail.com>