rootdev.c: Added -d option to strip trailing partition number

Change-Id: I2afbb0a8546f48224292433e2efcf0a868c7a1c6

Review URL: http://codereview.chromium.org/2814040
Patch from Kobi Cohen-Arazi <kobic@codeaurora.org>.
1 file changed