Fix off-by-one error in array size in ec2_gahp.