Fix some AUTORESET induced synthesis errors