Use accessor for new libserialport opaque port structure.