Camera3Device: Validate template ID

Validate template ID before creating a default request.

Bug: 26866110
Bug: 27568958
Change-Id: Ifda457024f1d5c2b1382f189c1a8d5fda852d30d

uint32_t Camera3Device::getDeviceVersion() {
    ATRACE_CALL();
 Mutex::Autolock il(mInterfaceLock);
 return mDeviceVersion;
}

uint32_t Camera3Device::getDeviceVersion() {
    ATRACE_CALL();
 Mutex::Autolock il(mInterfaceLock);
 return mDeviceVersion;
}
