shell: Hide the Format button for CD/DVD drive

Hide the "Format" button and "—" text if the device is a CD/DVD drive.

Fixes #919
Closes #1044
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>