Role of ionic surfactant in magnetic dynamics of self-assembled dispersions of nanoplatelets