ifconfig: Reuse media state in ifmedia_getstate
This restores behavior lost in code cleanup, fixing a regression after
2803fa471e77dc8f227fe00bbf075de7feb10022 where changing media options
only applies some of the changes, not all.
Reported by: np
Reviewed by: donner
Differential Revision: https://reviews.freebsd.org/D29741
(cherry picked from commit 407fb44c920a580a30dfe7d1add796a7b35a5ac7)