Remove constness of device filename to avoid warning when freed.
A warning from free() can be avoided by casting the constness away from its argument pointer or by not declaring the pointer as const in the first place.
Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>