camera2: Add StaticMetadata helpers for legacy devices

* Query if the hw level is LEGACY, or (LIMITED or FULL)
* Query the max latency of the device (e.g. PFC or UNKNOWN)

Change-Id: I562c34b5fd31f2de0f6739f638ade491504169c7
1 file changed