If you don't deauthorize your Mac before selling it, the new owner will use up one of your 5 authorized devices. You can still deauthorize the device remotely by going to your Apple ID account and selecting Deauthorize All. However, this will deauthorize all of your previously authorized devices, so use it with caution.