net: introduce res_counter_charge_nofail() for socket allocations