virtual_oss: Combine -d, -l and -L option getopt code
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55671
(cherry picked from commit a2b601343bf9261c4ada51e4d4c30c5b9320bb2b)