Use su to flash if device is rooted

If the device is already rooted and the user choose to flash a new
system image, we're now using su instead of telnetd exploit.