Measures to protect the critically endangered grey nurse shark have been announced by the NSW government.