chore(select): fix migrate warning for jQuery.fn.attr('selected')

Full listing of jQuery migrate warning can be found here - [https://github.com/jquery/jquery-migrate/blob/master/warnings.md](https://github.com/jquery/jquery-migrate/blob/master/warnings.md)

Closes #4107