common: Add opcodes to support max available frequency

Add opcodes for PerfLock to support the maximum
available frequency on available cores.

Change-Id: Ia5df4288652b97b303dd9f7ed5468efc30cd021e