Clamp G1 prediction output to sensible values. Reviewed-by: lkorinth, sjohanss
Reviewed-by: darcy, ihse