sgw: fix cost calculation for advertised speeds greater or equal than MAX