Gallery2: avoid to trim the unsupported clips

- only the clips with the mimetype "video/mp4" can
  be allowed to trim
- catch the exception to avoid the crash of gallery

Change-Id: Iadda7a42d4d694c102d50d2c52a93979ba2907a7
CRs-Fixed: 523986