Crumbling sea defences will get a £1.6m cash boost from the Welsh Government, but an assembly member says it is not enough.