Budget cuts will have a 'grave impact' on the National Library, staff told