pub fn syscall_charge_fuel_impl( ctx: &mut RuntimeContext, fuel_consumed: u64, ) -> Result<(), TrapCode>
Adds the consumed fuel to the runtime context and checks against the context fuel limit.