NSW dam wall threatens vulnerable bird