Revert "[hlsdl] fix build add -Wdeprecated-declarations"
This reverts commit fd190ee652f5e5a68f13fdcacf3d52dcde0e1252.