camera: add support for EXIF thumbnail
camera: prevent sending invalid commands to front camera