Previously we are stripping the /dev/ prefix at different places
for GEOM providers which was not consistent and resulted in
code duplication.
Address this by extracting the handling of GEOM device name from
request into a new method (gctl_get_devname) and make all GEOM
providers use it.