camera: fix camera crash in hfr

- When the maximum supported sizes of 60/90/120 are different, camera
  will crash when set hfr size to the maximum supported size while the
  current hfr mode doesn't support.
- Fix is to use the supported maximum size of the HFR only when the
  specified maximum size is not supported by the current HFR mode.

( cherrypicked from commit 494783c6dc29e76adbc7a714062c6739b785ee23 )

Change-Id: Ia74949e5f97d02b22ad817ac7068b5a676004f3a
CRs-Fixed: 527339